-
Notifications
You must be signed in to change notification settings - Fork 252
davidmoreno edited this page Jul 4, 2011
·
2 revisions
onion can be cross compiled for use on ARM targets.
This feature is still experimental, and may change, but basically compiling it with:
$ mkdir arm
$ cd arm
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../toolchain/arm.txt
$ make
$ sudo make install
make the ARM binaries. The file arm.txt must be personalized for your own cross compiler. The prefered way is actually to copy the file, modify it for your needs, and use that toolchain file.
It is installed on the directory set on CMakeLists.txt, and currently it is tested with the Ubuntu 10.10 ARM cross compilation lib and headers directories, and CodeSourcery.
On Ubuntu it needs the cpp-4.5-arm-linux-gnueabi
package.