Trying to build something like u-boot w/the toolchain produced by 
meta-toolchain-sdk and get the following:

$ powerpc-poky-linux-gnuspe-ld -g -Ttext 0x40000 -o hello_world -e hello_world 
hello_world.o libstubs.o -L. -lgcc
powerpc-poky-linux-gnuspe-ld: cannot find -lgcc

If I take on a --verbose I get:
attempt to open ./libgcc.so failed
attempt to open ./libgcc.a failed
attempt to open 
/opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/local/lib/libgcc.so
 failed
attempt to open 
/opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/local/lib/libgcc.a
 failed
attempt to open 
/opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/lib/libgcc.so failed
attempt to open 
/opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/lib/libgcc.a failed
attempt to open 
/opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/lib/libgcc.so 
failed
attempt to open 
/opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/lib/libgcc.a 
failed

What do we need to tweak so we can find libgcc.a?

- k
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to