Re: [yocto] Problem finding -lgcc when using SDK toolchain

2013-10-02 Thread Khem Raj
On Oct 1, 2013, at 11:03 AM, Hans Beckerus hans.becke...@gmail.com wrote: On 2013-10-01 7:35, Khem Raj wrote: On Oct 1, 2013, at 6:16 AM, Hans Beckérus hans.becke...@gmail.com wrote: Hello. We have stumbled into a problem when using ld directly instead of going through the gcc frontend. A

Re: [yocto] Problem finding -lgcc when using SDK toolchain

2013-10-02 Thread Hans Beckérus
On Wed, Oct 2, 2013 at 8:13 AM, Khem Raj raj.k...@gmail.com wrote: On Oct 1, 2013, at 11:03 AM, Hans Beckerus hans.becke...@gmail.com wrote: On 2013-10-01 7:35, Khem Raj wrote: On Oct 1, 2013, at 6:16 AM, Hans Beckérus hans.becke...@gmail.com wrote: Hello. We have stumbled into a problem

[yocto] Problem finding -lgcc when using SDK toolchain

2013-10-01 Thread Hans Beckérus
Hello. We have stumbled into a problem when using ld directly instead of going through the gcc frontend. A simple operation like this fails: ${CC} -c hello_world.c ${LD} hello_world.o -lgcc arm-poky-linux-gnueabi-ld: cannot find -lgcc And yes, I know -lgcc is not required in this case to compile

Re: [yocto] Problem finding -lgcc when using SDK toolchain

2013-10-01 Thread Khem Raj
On Oct 1, 2013, at 6:16 AM, Hans Beckérus hans.becke...@gmail.com wrote: Hello. We have stumbled into a problem when using ld directly instead of going through the gcc frontend. A simple operation like this fails: ${CC} -c hello_world.c ${LD} hello_world.o -lgcc

Re: [yocto] Problem finding -lgcc when using SDK toolchain

2013-10-01 Thread Hans Beckerus
On 2013-10-01 7:35, Khem Raj wrote: On Oct 1, 2013, at 6:16 AM, Hans Beckérus hans.becke...@gmail.com wrote: Hello. We have stumbled into a problem when using ld directly instead of going through the gcc frontend. A simple operation like this fails: ${CC} -c hello_world.c ${LD}