This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: help...
- To: "Ripper" <ripper at s-series dot org>
- Subject: Re: help...
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 10 May 2001 21:50:34 -0300
- Cc: <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <01a801c0d965$65cd1fc0$e67d8c86@collegis.com>
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