[Buildroot] Few questions external toolchain

Marco Trapanese marcotrapanese at gmail.com
Wed Feb 26 19:53:17 UTC 2014


Hi Thomas,

Il 26/02/2014 20:42, Thomas De Schampheleire ha scritto:

> Can you run following command: 
> /home/marco/dev/buildroot/output/host/usr/bin/arm-fsl-linux-gnueabi-gcc -print-file-name=crt1.o 
> and verify that the reported file exists? What is the output? 

The output is:

crt1.o

Furthermore:

find -name crt1.o
./output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/crt1.o


> Normally you shouldn't give any special environment flags. You could 
> also try to compile a simple hello world program with that compiler in 
> output/host/usr/bin, to see if that works correctly or not.

Compiling an hello world program with the (symbolic link) in 
output/host/usr/bin/arm-fsl-linux-gnueabi-gcc leads to the same linker 
errors described in the previous post.

But the original compiler 
(/home/marco/dev/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc) 
works fine with the same hello world.

Thanks again!
Marco





More information about the buildroot mailing list