AnsweredAssumed Answered

Problem with arm-fsl-linux-gnueabi- Multilib

Question asked by Ali Sarlak on Apr 28, 2015
Latest reply on May 9, 2015 by Ali Sarlak

Dear Developers

I face to problem with arm-fsl-linux-gnueabi (multilib linaro gcc 4.6.2 that freescale provides it for IMX<gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12>).

When I want to compile a test.c with the following command :

arm-fsl-linux-gnueabi-gcc test.c -o test

everything is fine, but when I try :

arm-fsl-linux-gnueabi-gcc test.c -o test --sysroot=/home/university/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/arm-fsl-linux-gnueabi/multi-libs/default

I face to error that says cannot find crt1.o ,..

I get the sysroot of gcc by:

arm-fsl-linux-gnueabi-gcc -print-sysroot


As you see they are the same, so why when I set the sysroot I face to "can't find crt1.o"?that's really strange!

And of course I have the same problem with Buildroot when I use this compiler (Multilib) that freescale provides?


I appreciate any idea.

Thanks in advance.