help...

Alexandre Oliva aoliva@redhat.com
Thu May 10 17:50:00 GMT 2001


On May 10, 2001, "Ripper" <ripper@s-series.org> wrote:

> /usr/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> *** The command 'gcc -o conftest -g -O2   conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.

> Any Ideas???

Looks like your compile is not working :-)

crt1.o is not part of the compiler, it's something it expects to find
as part of a development installation of the host operating system.
For instance, if it's a GNU/Linux system, this file will generally be
found in the glibc-devel package.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list