Cross compilation

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Tue Jul 11 09:37:48 UTC 2017


On Tue, Jul 11, 2017 at 11:32:20AM +0200, Xen wrote:
> You will need all X libraries as well though. I personally couldn't manage
> without using OpenEmbedded.

It's fairly easy to do that on Debian thanks to Multi-Arch. You can
install all build dependencies for the target architecture simply from
the corresponding repository.

You basically just need to:

# dpkg --add-architecture armhf
# apt update
# apt build-dep openjdk-8:armhf

Just make sure you have at least Debian Jessie for openjdk-8.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the build-dev mailing list