Login  Register

Re: Updated our crosstools, i.e. Debian 10 aarch64 + arm-armhf

Posted by Xerxes Rånby on Dec 06, 2019; 11:14am
URL: https://forum.jogamp.org/Updated-our-crosstools-i-e-Debian-10-aarch64-arm-armhf-tp4040156p4040169.html

These toolchains work for cross compiling jogamp for armv6hf and aarch64 using a x86_64 Debian/ubuntu Linux system.

Where to unpack the archives:
cd /
tar xvf opt-linux-arm64-debian10-20191130.tar.xz
ln -s opt-linux-arm64-debian10 opt-linux-arm64
tar xvf opt-linux-armv6-armhf-debian10-20191130.tar.xz
ln -s opt-linux-armv6-armhf-debian10 opt-linux-armv6-armhf

cd /usr/local
tar xvf x-tools.aarch64-linux-gnu.20190715.tar.xz
tar xvf x-tools.armv7hf-linux-gnu.20190715.tar.xz

How to cross compile:
cd gluegen/make
sh scripts/make.gluegen.all.linux-armv6hf-cross.sh
sh scripts/make.gluegen.all.linux-aarch64-cross.sh

cd jogl/make
sh scripts/make.jogl.all.linux-armv6hf-cross.sh
sh scripts/make.jogl.all.linux-aarch64-cross.sh

Where to locate the built files:
gluegen/build-linux-armv6hf
gluegen/build-linux-aarch64

jogl/build-linux-armv6hf
jogl/build-linux-aarch64