#!/bin/bash # Copyright 2006 Sun Microsystems, Inc. # Use is subject to license terms. # This script assumes you are in the root of a HotSpot workspace # You need copies of the JDK for several different reasons # during the build. You can use the same JDK for all of # these, but we give them different names in case you want # to make them different. # A bootstrap JDK from which to run javac to compile Java sources. export ALT_BOOTDIR="${Deployed}/JDK-1.6.0" # A JDK from which to copy class files, etc., around the virtual machine. export ALT_JDK_IMPORT_PATH="${Deployed}/JDK-1.6.0" # Set the version string to something you can see with "java -version". export FULL_VERSION="$(basename $(pwd))-$(date +'%Y''%m''%d''.''%H''%M')" # Build the world # When the dust settles, you should be able to run your new # virtual machine with # build/solaris/jdk-linux-i586/bin/java # (and with # build/solaris/jdk-linux-i586/fastdebug/bin/java # if your ALT_JDK_IMPORT_PATH includes a fastdebug JDK). cd make && /usr/bin/make MAKE_VERBOSE="" world