07-18-2016, 07:31 AM
(This post was last modified: 07-18-2016, 08:12 AM by martinayotte.)
For the IDE itself, you need to replace the arduino-1.6.9/java/bin/java with the one from /usr/bin/java.
You will need to replace also the ./arduino-1.6.9/lib/libastylej.so with the one installed by "apt-get install libastylej-jni" from /usr/lib/jni/aarch64-linux-gnu/libastylej.so.
Finally, you also need to replace the ./arduino-1.6.9/lib/liblistSerialsj.so with one compiled from sources, (I'm providing here a zip of my compile).
For the compiler, you need first to install "apt-get install libgcc1-armhf-cross".
Then, i've added the libs libz.so.1.2.8/libpthread-2.19.so/libtinfo.so.5.9 from a RaspberryPi into /usr/arm-linux-gnueabihf/lib/ and created proper symbolic links for them, libz.so.1/libpthread.so.0/libtinfo.so.5 accordingly.
Beware that if you install some other frameworks using Board Manager, maybe you will need to tweak some other stuff, since it will also install 32bits version.
You will need to replace also the ./arduino-1.6.9/lib/libastylej.so with the one installed by "apt-get install libastylej-jni" from /usr/lib/jni/aarch64-linux-gnu/libastylej.so.
Finally, you also need to replace the ./arduino-1.6.9/lib/liblistSerialsj.so with one compiled from sources, (I'm providing here a zip of my compile).
For the compiler, you need first to install "apt-get install libgcc1-armhf-cross".
Then, i've added the libs libz.so.1.2.8/libpthread-2.19.so/libtinfo.so.5.9 from a RaspberryPi into /usr/arm-linux-gnueabihf/lib/ and created proper symbolic links for them, libz.so.1/libpthread.so.0/libtinfo.so.5 accordingly.
Beware that if you install some other frameworks using Board Manager, maybe you will need to tweak some other stuff, since it will also install 32bits version.