Help building under Windows7 64-bit

cowwoc cowwoc at
Mon Jun 7 18:58:57 UTC 2010

Andrew John Hughes wrote:
> I've never built on Windows, nor would I ever want to.  But at a
> guess, your problem here is that you have spaces in your path to ant.
> Move it to something like C:\ant and you'll probably get further.

You are right, but I can't figure out why. Here is the script I run right
before "make sanity":


# "External" bits (outside of OpenJDK path structure)
export ALT_BOOTDIR=$(cygpath -a -m -s "C:/Program Files/Java/jdk1.7.0")
export ANT_HOME=$(cygpath -a -m -s "C:/Program Files/apache-ant-1.8.0")
echo ${ANT_HOME}
export FINDBUGS_HOME=C:/Users/Gili/Documents/findbugs-1.3.9
export ALT_DEPLOY_MSSDK=$(cygpath -a -m -s "C:/Program Files/Microsoft

# OpenJDK flag (to make FreeType check pass)
export OPENJDK=true

export OPENJDK_HOME=C:/Users/Gili/Documents/jdk7
openjdkpath=$(cygpath "$OPENJDK_HOME")

# OpenJDK-related bits
# (ALT_JDK_IMPORT_PATH fixes a corba bug; remove it later)
export ALT_JDK_IMPORT_PATH=$(cygpath -a -m -s "C:/Program
export ALT_BINARY_PLUGS_PATH=$OPENJDK_HOME/openjdk-binary-plugs
export ALT_FREETYPE_LIB_PATH=$(cygpath -a -m -s "C:/Program Files
export ALT_FREETYPE_HEADERS_PATH=$(cygpath -a -m -s "C:/Program Files
. $openjdkpath/jdk7/jdk/make/

# Need GNU make in front of Cygwin's; this is the only practical way to do
export PATH=$openjdkpath/bin:$PATH

# Let people know this is an OpenJDK-savvy prompt

echo ${ANT_HOME} is printing out C:/PROGRA~1/APACHE~1.0 yet if you look at
the output log of "make sanity" it sees a different value. Where could this
be coming from? I am new to cygwin/bash so perhaps I am doing something
wrong in the above script.

View this message in context:
Sent from the OpenJDK Build Infrastructure mailing list archive at

More information about the build-dev mailing list