Cross-compiling for the BBB running on Debian

I compiled a simple Hello World on my host (Ubuntu) with:

`

arm-linux-gnueabi-gcc helloworld.c -o helloworld.

`

When I try to run it on the beaglebone, I get the follow:

`
-bash: ./helloworld: No such file or directory

`

What did I do wrong?

I compiled a simple Hello World on my host (Ubuntu) with:

arm-linux-gnueabi-gcc helloworld.c -o helloworld.

Gnueabi is for armel… For armh use gnueabihf or install all the needed atmel multarch libs including the linker…

Try
arm-unknown-linux-gnueabihf-gcc helloworld.c -o helloworld.

Thanks

Kavitha

``