cannot open crt0.o

Dan Kegel dkegel@ixiacom.com
Wed Jul 9 17:44:00 GMT 2003


Abhijit Deshpande wrote:
> 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..

I'm not familiar with building newlib, but if you post
your build script, maybe we could spot the problem.
- Dan


------
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