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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Sven Gothel
Administrator
Updated our crosstools, i.e. Debian 10 aarch64 + arm-armhf
sysroot libs to crosscompile

https://jogamp.org/cgit/crosstool-ng-projects.git/commit/?id=5c3391e70e4aa2aead779f0512f481288ec8e4e8

Resulting folder are used for crosscompilation, e.g. see GlueGen's
gluegen/make/scripts/make.gluegen.all.linux-aarch64-cross.sh
where TARGET_PLATFORM_USRROOT points to opt-linux-arm64-debian10.

Today's snapshot has been signed and hashed:
https://jogamp.org/files/toolchain/20191130-linux-toolchain/

From here on the latest is available via this symbolic link
https://jogamp.org/files/toolchain/latest-linux-toolchain/

~Sven
Reply | Threaded
Open this post in threaded view
|

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

Xerxes Rånby
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