RFR (M): Enable OpenJDK builds on Windows with MinGW/MSYS
Jonathan Gibbons
jonathan.gibbons at oracle.com
Thu Mar 15 01:07:04 UTC 2012
Volker,
This work is very interesting!
Have you looked at what changes might be necessary to any shell tests in
the langtools/test and jdk/test directories?
Many test shell scripts have a block of code of the form:
OS=`uname -s`
case "$OS" in
SunOS | Linux | *BSD | Darwin )
NULL=/dev/null
PATHSEP=":"
FILESEP="/"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
PATHSEP=";"
FILESEP="/"
TMP=/tmp
;;
Windows* )
NULL=NUL
PATHSEP=";"
FILESEP="\\"
TMP=$TEMP
;;
* )
echo "Unrecognized system!"
exit 1;
;;
esac
What would the equivalent case statement be for minGW/MSYS?
-- Jon
More information about the build-dev
mailing list