cannot open crt0.o

Abhijit Deshpande abhijit@softjin.com
Wed Jul 9 14:50:00 GMT 2003


Hi,

I am trying to build a cross-compiler for mips-elf target.

I could build binutils-2.13.1 and gcc-3.2.2 successfully. But while 
configuring newlib-1.11.0, it failed with following message:

...../mipsel-elf-install/lib/gcc-lib/mipsel-elf/3.2.2/../../../../mipsel-elf/bin/ld: 
cannot open crt0.o: No such file or directory
collect2: ld returned 1 exit status

*** The command '....../mipsel-elf-install/bin/mipsel-elf-gcc -o conftest 
-g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

As per my understanding, crt0.o will be available after building newlib.. 
but configure script for newlib itself is failing because crt0.o is not 
present..

I would like to know how to solve this problem?? or is there anything 
wrong with my assumption that crt0.o is generated after building newlib..

Thanks in advance,
Abhijit.
-- 
-------------- next part --------------
----------------------------------------- (softjin.com)

This message and any attachment contained is scanned by InterScan VirusWall in SoftJin and No virus found.

---------------------------------------------------------

-------------- next part --------------
------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


More information about the crossgcc mailing list