Giuseppe Ventura

Cross-Compiling for iMX53

Discussion created by Giuseppe Ventura on Mar 25, 2012
Latest reply on Mar 25, 2012 by Giuseppe Ventura

Hi all,

I want cross-compiling a simple application like "hello World" for iMX53 platform with "arm-fsl-linux-gnueabi-gcc"compiler.

 

I followed "AN3870" from Freescale.com but i have this error in Linker:


**** Build of configuration imx53 for project hello ****

make all
Building target: hello
Invoking: GCC C Linker
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-gcc -L/home/giuseppe/imx53/11.09.01/L2.6.35_11.09.01_ER_source/ltib/rootfs/lib -L/opt/freescale/ltib/usr/lib -o"hello" ./src/hello.o -l/home/giuseppe/imx53/11.09.01/L2.6.35_11.09.01_ER_source/ltib/rootfs/lib -l/opt/freescale/ltib/usr/lib
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find -l/home/giuseppe/imx53/11.09.01/L2.6.35_11.09.01_ER_source/ltib/rootfs/lib
collect2: ld returned 1 exit status
make: *** [hello] Errore 1

 

what is /bin/ld that it cannot find?

 

Someone can help me pls?

Outcomes