Radarcape:ApplicationDevelopmentOnRC: Difference between revisions

From Beast Wiki
Jump to navigation Jump to search
imported>Dl4mea
imported>Dl4mea
Line 36: Line 36:
[http://www.boost.org/boost-build2/doc/html/bbv2/overview/invocation.html Invocation (targets and switches)]
[http://www.boost.org/boost-build2/doc/html/bbv2/overview/invocation.html Invocation (targets and switches)]


[[http://stackoverflow.com/questions/6782071/boostbuild-patchlevel-h-does-not-exist In case of fails with respect to something with Python]
[http://stackoverflow.com/questions/6782071/boostbuild-patchlevel-h-does-not-exist In case of fails with respect to something with Python]


My compile command:<br\>
My compile command:<br\>
<source lang="bash">
./b2 -j 2 toolset=gcc-arm --build-dir=arm-linux-gnueabi stage
./b2 -j 2 toolset=gcc-arm --build-dir=arm-linux-gnueabi stage
</source>

Revision as of 10:46, 1 November 2014

For Experts The tasks described in this manual require expert knowledge of Unix/Linux and embedded systems.

The Radarcape contains a full Linux system based on the Beaglebone hardware, so it can even be used for developing your own code. You can find plenty of information in the web. Here, it shall only be showed how some small "hello world" and other small applications can be compiled and run on the Radarcape.

Packages For C/C++ Development On Beaglebone (Angstrom)

These packages are needed for C or C++ development on the Beaglebone:

opkg install update
opkg install gcc
opkg install gcc-symlinks
opkg install g++
opkg install g++-symlinks
opkg install make
opkg install boost
opkg install libc6-dev
opkg install binutils
opkg files libgcc-s-dev
 

It is recommended that these packages be updated in the explicit sequence above rather than all-at-once.

Building Boost For Beaglebone

Mind these pages:

Cross Compilation
Note: take care that the user-config.jam is in the search path of b2

Invoke b2 (command-syntax)

Invocation (targets and switches)

In case of fails with respect to something with Python

My compile command:<br\>

./b2 -j 2 toolset=gcc-arm --build-dir=arm-linux-gnueabi stage