Originally Posted by jimseng
Hi. I am just wondering if it would be hard to compile for Arm processors. I am really interested in seeing if this could run on the Raspberry Pi. It could make a really interesting cheap
, low power
chart plotter. I see it is heading for Android devices so available on a Raspi would be interesting.
It should be easy, how well it works in the end is an other story.
With Cmake you can make a nice toolchain file to define the cross compilers and then configure the build with.
cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-RasPI.cmake ..
The toochaoin file should contain defines for the compiler and paths. There are are few examples on CMakes wiki pages. I have no idea how RasPie cross compile chain look, what linux it uses and so on. I know they have a small weak Arm core
thou, and good gfx. I'm not sure OpenCPN
will run smooth on that hardware