This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

gcc cross-compile for am335x failes

Hi, 

I've cross-compiled a simple helloworld for the am335x as described here:

http://processors.wiki.ti.com/index.php/Sitara_Linux_SDK_GCC_Toolchain

using the arm-linux-gnuaebihf-gcc from the TI SDK 7.00

http://downloads.ti.com/sitara_linux/esd/AM335xSDK/latest/index_FDS.html

gcc runs successfully and a "file helloworld" gives me:

helloworld: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.31, BuildID[sha1]=0xed47df8a423cf951efd4b3f23bd846530c33c6, not stripped

when i copy the file on the arm via ssh and execute it, it just gives me a:

-sh: ./helloworld: not found

what am i doing wrong, are the wrong libs linked during compilation?

Thanks a lot

Andreas