crt1.o not found in mipsel-linux
pati (sent by Nabble.com)
lists@nabble.com
Fri Dec 9 00:04:00 GMT 2005
can you explain me why this object file is used for.....
Bcoz, when I run the hello world program with printf function written separately( provided in linux-mips.org), it compiles and links successfully...
Also when I use gcc linker ld with the following linker options ,
mipsel-linux-ld -o main.elf main.o -L /usr/lib -lc -I /lib
this is what I get...
mipsel-linux-ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
mipsel-linux-ld: cannot find /lib/libc.so.6
what is this libc.so.6 ???. From what I figure out, the linker is looking for libc.so in /lib instead of /usr/lib. When I searched for this error in forums, I found something like modifying crosstool.sh to make it search in /usr/lib. but I donot find this .sh script anywhere on my system...
Thank you - uday
--
Sent from the Sourceware - crossgcc list forum at Nabble.com:
http://www.nabble.com/crt1.o-not-found-in-mipsel-linux-t705223.html#a1861193
------
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