I decided to make this a separate post because it’s pretty important.  I am using Linux Mint with which to develop.  I already had a cross-compiling toolchain installed in my environment.  It could be invoked with the command arm-linux-gnueabi-gcc.  For some reason, this was not compiling a binary that would run on the BeagleBoard.  Running file on the binary would say that it’s compiled for ARM.  But, the output on the BeagleBoard would be:
-bash: ./myBinary: No such file or directory

Then, I read somewhere about a different toolchain, gcc-arm-linux-gnueabihf.  I used apt-get to install that package and was able to successfully cross-compile with the command:
arm-linux-gnueabihf-gcc -o myBinary myCode.c

This entry was posted in BeagleBone, Project, Software and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s