This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crt1.o not found in mipsel-linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]