Changeset: 99f1ec109930 Author: Greg Lewis <gle...@eyesbeyond.com> Date: 2014-07-13 14:34 -0700 URL: http://hg.openjdk.java.net/bsd-port/jdk8/rev/99f1ec109930
(Free)BSD support. This is predominantly the work of: Jung-uk Kim <j...@freebsd.org> Brian Gardner <open...@getsnappy.com> Although it also builds on previous ports. I've made some additions too, hopefully without breaking anything. Details: . Detect hardware and memory details on BSD systems. . Make it possible to pass the path to externally installed packages to configure. . Note that FreeBSD, at least, the arch is amd64, not x86_64. . Support Clang as a compiler as well as GCC. . Note that alsa is used on BSD, although it lives in a different location than it does on Linux. . Note some MacOS/BSD equivalence that was missing. . Use the defines VM_LITTLE_ENDIAN and VM_BIG_ENDIAN rather than _LITTLE_ENDIAN and _BIG_ENDIAN since the latter are defined on both types of endian mahcines in some BSD header files. . Use /bin/sh rather than /bin/bash, or at least don't hardcode bash to be in /bin where it is used. . Increase the number of possible parameters in some compilation macros to allow for BSD specific flags. ! common/autoconf/build-performance.m4 ! common/autoconf/generated-configure.sh ! common/autoconf/libraries.m4 ! common/autoconf/platform.m4 ! common/autoconf/spec.gmk.in ! common/autoconf/toolchain.m4 ! configure ! make/Main.gmk ! make/common/MakeBase.gmk ! make/common/NativeCompilation.gmk