Building Portola JDK11 for AMR64 arch

Andrew Haley aph at redhat.com
Fri Oct 26 08:36:33 UTC 2018


On 10/26/2018 09:00 AM, Mikael Vidstedt wrote:
> ./configure --openjdk-target=aarch64-oe-linux  
> --with-boot-jdk=/work/jdk11/build/linux-x86_64-normal-server-release/jdk
> --with-devkit=/tools/aarch64-toolchain/gcc-linaro-7.3.1-2
> 018.05-x86_64_aarch64-linux-gnu --disable-warnings-as-errors
> --disable-sjavac

You need a sysroot in order to cross compile. It should be populated with the
target libraries and headers.

You need to set  --target=TARGET .

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the build-dev mailing list