AnsweredAssumed Answered

Cross Compiling for iMX6 using arm-linux-gnueabi-g++

Question asked by Daniel Laks on Dec 7, 2016
Latest reply on Dec 9, 2016 by Victor Linnik

I compiled a C++ program on my Ubuntu computer using arm-linux-gnueabi-g++ and copied it over to my device that has an iMX6 (a Gateworks GW5100 board with a yocto build). Unfortunately, I'm getting a "no such file or directory" error when I try to execute the program. I've verified the permissions on the file are correct and that the file copied successfully. I just can't execute it.


Is there any reason arm-linux-gnueabi-g++ is the wrong cross compiler to use for the iMX6? Is there another one I should use instead?


Here is the output of running "file" on the executable:

sw: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=34622f94d6f088b50e31bcd08ecd14f57947fee5, not stripped


Thank you.