Hello all, in OpenJDK9 there is some support for building using a
sysroot-like environment .
For instance see
common/autoconf/flags.m4
# Solaris Studio does not have a concept of sysroot. Instead we must
# make sure the default include and lib dirs are appended to each
# compile and link command line.
SYSROOT_CFLAGS="-I$SYSROOT/usr/include"
SYSROOT_LDFLAGS="-L$SYSROOT/usr/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/usr/ccs/lib$OPENJDK_TARGET_CPU_ISADIR"
Are there also scripts available to create the SYSROOT environment or is it
just done by copying a few folders manually ?
Thanks, Matthias