diff -r 100818c5ddd0 -r f83b21839314 doc/building.html --- a/doc/building.html Mon Dec 10 19:08:24 2018 +0530 +++ b/doc/building.html Mon Dec 10 14:54:04 2018 +0100 @@ -396,9 +396,9 @@

X11

Certain X11 libraries and include files are required on Linux and Solaris.

Use --with-x=<path> if configure does not properly locate your X11 files.

ALSA

@@ -662,6 +662,7 @@
  • libice-dev
  • libxrender
  • libxrender-dev
  • +
  • libxrandr-dev
  • libsm-dev
  • libxt-dev
  • libx11
  • @@ -693,7 +694,7 @@
    apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu
  • Create chroot on the build system, configuring it for target system:

    sudo qemu-debootstrap --arch=arm64 --verbose \
    -   --include=fakeroot,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng12-dev \
    +   --include=fakeroot,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng12-dev \
        --resolve-deps jessie /chroots/arm64 http://httpredir.debian.org/debian/
  • Configure and build with newly created chroot as sysroot/toolchain-path:

    CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ sh ./configure --openjdk-target=aarch64-linux-gnu --with-sysroot=/chroots/arm64/ --with-toolchain-path=/chroots/arm64/