Cross-Compiling for iMX53

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cross-Compiling for iMX53

979 Views
enaud
Contributor III

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?

Tags (1)
0 Kudos
Reply
1 Reply

605 Views
enaud
Contributor III

up

0 Kudos
Reply