Merge

Fri, 24 Dec 2010 11:16:02 -0800

author
ohair
date
Fri, 24 Dec 2010 11:16:02 -0800
changeset 279
d0eb51cc458a
parent 274
4c20b4f753e3
parent 278
c1af03f88627
child 280
024a6755895b

Merge

     1.1 --- a/Makefile	Wed Dec 22 15:57:04 2010 -0800
     1.2 +++ b/Makefile	Fri Dec 24 11:16:02 2010 -0800
     1.3 @@ -156,12 +156,6 @@
     1.4    clobber:: deploy-clobber
     1.5  endif
     1.6  
     1.7 -ifeq ($(BUILD_JDK), true)
     1.8 -  ifeq ($(BUNDLE_RULES_AVAILABLE), true)
     1.9 -    generic_build_repo_series:: openjdk-binary-plugs-bundles
    1.10 -  endif
    1.11 -endif
    1.12 -
    1.13  # The debug build, fastdebug or debug. Needs special handling.
    1.14  #  Note that debug builds do NOT do INSTALL steps, but must be done
    1.15  #  after the product build and before the INSTALL step of the product build.
    1.16 @@ -301,7 +295,6 @@
    1.17    ifeq ($(BUILD_JDK), true)
    1.18      ifeq ($(BUNDLE_RULES_AVAILABLE), true)
    1.19  
    1.20 -OPENJDK_PLUGS=$(ABS_OUTPUTDIR)/$(OPENJDK_BINARY_PLUGS_INAME)
    1.21  OPENJDK_OUTPUTDIR=$(ABS_OUTPUTDIR)/open-output
    1.22  OPENJDK_BUILD_NAME \
    1.23    = openjdk-$(JDK_MINOR_VERSION)-$(BUILD_NUMBER)-$(PLATFORM)-$(ARCH)-$(BUNDLE_DATE)
    1.24 @@ -330,7 +323,6 @@
    1.25  	  GENERATE_DOCS=false \
    1.26  	  ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \
    1.27  	  ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \
    1.28 -	  ALT_BINARY_PLUGS_PATH=$(OPENJDK_PLUGS) \
    1.29  	  ALT_BOOTDIR=$(OPENJDK_BOOTDIR) \
    1.30  	  ALT_JDK_IMPORT_PATH=$(OPENJDK_IMPORTJDK) \
    1.31  		product_build )
    1.32 @@ -456,7 +448,6 @@
    1.33  DEVTOOLS_PATH.desc         = Directory containing zip and gnumake
    1.34  CUPS_HEADERS_PATH.desc     = Include directory location for CUPS header files
    1.35  DXSDK_PATH.desc            = Root directory of DirectX SDK
    1.36 -MSDEVTOOLS_PATH.desc       = Root directory of VC++ tools (e.g. rc.exe)
    1.37  MSVCRT_DLL_PATH.desc       = Directory containing mscvrt.dll
    1.38  
    1.39  # Make variables to print out (description and value)
    1.40 @@ -487,12 +478,10 @@
    1.41  
    1.42  VARIABLE_PRINTVAL_LIST +=       \
    1.43      DXSDK_PATH                  \
    1.44 -    MSDEVTOOLS_PATH             \
    1.45      MSVCRT_DLL_PATH
    1.46  
    1.47  VARIABLE_CHECKDIR_LIST +=       \
    1.48      DXSDK_PATH                  \
    1.49 -    MSDEVTOOLS_PATH             \
    1.50      MSVCRT_DLL_PATH
    1.51  
    1.52  endif
    1.53 @@ -548,7 +537,7 @@
    1.54  "
    1.55  
    1.56  ################################################################
    1.57 -# Source and binary plug bundling
    1.58 +# Source bundling
    1.59  ################################################################
    1.60  ifeq ($(BUNDLE_RULES_AVAILABLE), true)
    1.61    include $(BUNDLE_RULES)
     2.1 --- a/README	Wed Dec 22 15:57:04 2010 -0800
     2.2 +++ b/README	Fri Dec 24 11:16:02 2010 -0800
     2.3 @@ -1,28 +1,38 @@
     2.4  README:
     2.5 -  This file should be located at the top of the OpenJDK Mercurial repository
     2.6 -  forest. This top or enclosing repository will include a "make" directory,
     2.7 -  and a Makefile at the very top of the repository.
     2.8 -  It should also include the 6 repositories: "jdk", "hotspot", "langtools",
     2.9 -  "corba", "jaxws"  and "jaxp".
    2.10 +  This file should be located at the top of the OpenJDK Mercurial root
    2.11 +  repository. This root repository will include a "make" directory,
    2.12 +  and a Makefile for building the entire OpenJDK.
    2.13 +  A full OpenJDK repository set (forest) should also include the following
    2.14 +  6 nested repositories:
    2.15 +    "jdk", "hotspot", "langtools", "corba", "jaxws"  and "jaxp".
    2.16 +  There are also several source downloads for the jax* repositories that
    2.17 +  will be needed.
    2.18 +
    2.19 +  This one root repository can be obtained with something like:
    2.20 +    hg clone http://hg.openjdk.java.net/jdk7/jdk7 openjdk7
    2.21 +  To make sure you have all the nested repositories, you can run:
    2.22 +    cd openjdk7 && sh ./get_source.sh
    2.23 +  (This is identical to using the Mercurial Forest Extension command 
    2.24 +   'hg fclone http://hg.openjdk.java.net/jdk7/jdk7 openjdk7').
    2.25 +  People unfamiliar with Mercurial should read the first few chapters of
    2.26 +  the Mercurial book: http://hgbook.red-bean.com/read/
    2.27  
    2.28    See http://openjdk.java.net/ for more information about the OpenJDK.
    2.29  
    2.30  Simple Build Instructions:
    2.31 +  
    2.32 +  0. Get the necessary system software/packages installed on your system, see
    2.33 +     http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html
    2.34  
    2.35 -  1. Download and install a JDK 6 from
    2.36 +  1. If you don't have a jdk6 installed, download and install a JDK 6 from
    2.37       http://java.sun.com/javase/downloads/index.jsp
    2.38 -     Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
    2.39 +     Set the environment variable ALT_BOOTDIR to the location of JDK 6.
    2.40  
    2.41 -  2. Download and install the Binary Plugs for the most recent JDK7 from
    2.42 -     http://download.java.net/openjdk/jdk7/
    2.43 -     Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
    2.44 -     these binary plugs.
    2.45 -     
    2.46 -  3. Check the sanity of doing a build with the current machine:
    2.47 +  2. Check the sanity of doing a build with your current system:
    2.48         gnumake sanity
    2.49       See README-builds.html if you run into problems.
    2.50    
    2.51 -  4. Do a complete build of the jdk:
    2.52 +  3. Do a complete build of the OpenJDK:
    2.53         gnumake all
    2.54       The resulting JDK image should be found in build/*/j2sdk-image
    2.55  
     3.1 --- a/README-builds.html	Wed Dec 22 15:57:04 2010 -0800
     3.2 +++ b/README-builds.html	Fri Dec 24 11:16:02 2010 -0800
     3.3 @@ -24,12 +24,12 @@
     3.4          <h2><a name="introduction">Introduction</a></h2>
     3.5          <blockquote>
     3.6              <p>
     3.7 -            This README file contains build instructions for the 
     3.8 -            <a href="http://openjdk.java.net"  target="_blank">OpenJDK</a>.
     3.9 -            Building the source code for the 
    3.10 -            OpenJDK
    3.11 -            requires
    3.12 -            a certain degree of technical expertise.
    3.13 +                This README file contains build instructions for the
    3.14 +                <a href="http://openjdk.java.net"  target="_blank">OpenJDK</a>.
    3.15 +                Building the source code for the
    3.16 +                OpenJDK
    3.17 +                requires
    3.18 +                a certain degree of technical expertise.
    3.19          </blockquote>
    3.20          <!-- ------------------------------------------------------ -->
    3.21          <hr>
    3.22 @@ -37,18 +37,23 @@
    3.23          <blockquote>
    3.24              <ul>
    3.25                  <li><a href="#introduction">Introduction</a></li>
    3.26 +                <li><a href="#hg">Use of Mercurial</a>
    3.27 +                    <ul>
    3.28 +                        <li><a href="#get_source">Getting the Source</a></li>
    3.29 +                    </ul>
    3.30 +                </li>
    3.31                  <li><a href="#MBE">Minimum Build Environments</a></li>
    3.32                  <li><a href="#SDBE">Specific Developer Build Environments</a>
    3.33                      <ul>
    3.34                          <li><a href="#fedora">Fedora Linux</a> </li>
    3.35                          <li><a href="#centos">CentOS Linux</a> </li>
    3.36 -		        <li><a href="#debian">Debian GNU/Linux</a></li>
    3.37 -			<li><a href="#ubuntu">Ubuntu Linux</a> </li>
    3.38 -		        <li><a href="#opensuse">OpenSUSE</a></li>
    3.39 -		        <li><a href="#mandriva">Mandriva</a></li>
    3.40 -		        <li><a href="#opensolaris">OpenSolaris</a></li>
    3.41 +                        <li><a href="#debian">Debian GNU/Linux</a></li>
    3.42 +                        <li><a href="#ubuntu">Ubuntu Linux</a> </li>
    3.43 +                        <li><a href="#opensuse">OpenSUSE</a></li>
    3.44 +                        <li><a href="#mandriva">Mandriva</a></li>
    3.45 +                        <li><a href="#opensolaris">OpenSolaris</a></li>
    3.46                      </ul>
    3.47 -		</li>
    3.48 +                </li>
    3.49                  <li><a href="#directories">Source Directory Structure</a> </li>
    3.50                  <li><a href="#building">Build Information</a>
    3.51                      <ul>
    3.52 @@ -56,42 +61,42 @@
    3.53                          <li><a href="#linux">Basic Linux System Setup</a> </li>
    3.54                          <li><a href="#solaris">Basic Solaris System Setup</a> </li>
    3.55                          <li><a href="#windows">Basic Windows System Setup</a> </li>
    3.56 -                        <li><a href="#dependencies">Build Dependencies</a> </li>
    3.57 -                        <ul>
    3.58 -                            <li><a href="#bootjdk">Bootstrap JDK</a> </li>
    3.59 -                            <li><a href="#binaryplugs">Binary Plugs</a> </li>
    3.60 -                            <li><a href="#importjdk">Optional Import JDK</a> </li>
    3.61 -                            <li><a href="#ant">Ant</a> </li>
    3.62 -                            <li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
    3.63 -                            <li><a href="#compilers">Compilers</a> 
    3.64 -                                <ul>
    3.65 -                                    <li><a href="#msvc32">Microsoft Visual Studio Professional/Express for 32 bit</a> </li>
    3.66 -                                    <li><a href="#msvc64">Microsoft Visual Studio Professional for 64 bit</a> </li>
    3.67 -                                    <li><a href="#mssdk64">Microsoft Windows SDK for 64 bit</a> </li>
    3.68 -                                    <li><a href="#gcc">Linux gcc/binutils</a> </li>
    3.69 -                                    <li><a href="#studio">Sun Studio</a> </li>
    3.70 -                                </ul>
    3.71 -                            </li>
    3.72 -                            <li><a href="#zip">Zip and Unzip</a> </li>
    3.73 -                            <li><a href="#freetype">FreeType2 Fonts</a> </li>
    3.74 -                            <li>Linux and Solaris:
    3.75 -                                <ul>
    3.76 -                                    <li><a href="#cups">CUPS Include files</a> </li>
    3.77 -                                    <li><a href="#xrender">XRender Include files</a></li>
    3.78 -                                </ul>
    3.79 -                            </li>
    3.80 -                            <li>Linux only:
    3.81 -                                <ul>
    3.82 -                                    <li><a href="#alsa">ALSA files</a> </li>
    3.83 -                                </ul>
    3.84 -                            </li>
    3.85 -                            <li>Windows only:
    3.86 -                                <ul>
    3.87 -                                    <li>Unix Command Tools (<a href="#cygwin">CYGWIN</a>)</li>
    3.88 -                                    <li><a href="#dxsdk">DirectX 9.0 SDK</a> </li>
    3.89 -                                </ul>
    3.90 -                            </li>
    3.91 -                        </ul>
    3.92 +                        <li><a href="#dependencies">Build Dependencies</a>
    3.93 +                            <ul>
    3.94 +                                <li><a href="#bootjdk">Bootstrap JDK</a> </li>
    3.95 +                                <li><a href="#importjdk">Optional Import JDK</a> </li>
    3.96 +                                <li><a href="#ant">Ant</a> </li>
    3.97 +                                <li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
    3.98 +                                <li><a href="#compilers">Compilers</a>
    3.99 +                                    <ul>
   3.100 +                                        <li><a href="#msvc32">Microsoft Visual Studio Professional/Express for 32 bit</a> </li>
   3.101 +                                        <li><a href="#msvc64">Microsoft Visual Studio Professional for 64 bit</a> </li>
   3.102 +                                        <li><a href="#mssdk64">Microsoft Windows SDK for 64 bit</a> </li>
   3.103 +                                        <li><a href="#gcc">Linux gcc/binutils</a> </li>
   3.104 +                                        <li><a href="#studio">Sun Studio</a> </li>
   3.105 +                                    </ul>
   3.106 +                                </li>
   3.107 +                                <li><a href="#zip">Zip and Unzip</a> </li>
   3.108 +                                <li><a href="#freetype">FreeType2 Fonts</a> </li>
   3.109 +                                <li>Linux and Solaris:
   3.110 +                                    <ul>
   3.111 +                                        <li><a href="#cups">CUPS Include files</a> </li>
   3.112 +                                        <li><a href="#xrender">XRender Include files</a></li>
   3.113 +                                    </ul>
   3.114 +                                </li>
   3.115 +                                <li>Linux only:
   3.116 +                                    <ul>
   3.117 +                                        <li><a href="#alsa">ALSA files</a> </li>
   3.118 +                                    </ul>
   3.119 +                                </li>
   3.120 +                                <li>Windows only:
   3.121 +                                    <ul>
   3.122 +                                        <li>Unix Command Tools (<a href="#cygwin">CYGWIN</a>)</li>
   3.123 +                                        <li><a href="#dxsdk">DirectX 9.0 SDK</a> </li>
   3.124 +                                    </ul>
   3.125 +                                </li>
   3.126 +                            </ul>
   3.127 +                        </li>
   3.128                      </ul>
   3.129                  </li>
   3.130                  <li><a href="#creating">Creating the Build</a> </li>
   3.131 @@ -100,6 +105,76 @@
   3.132                  <li><a href="#troubleshooting">Troubleshooting</a></li>
   3.133              </ul>
   3.134          </blockquote>
   3.135 +
   3.136 +        <!-- ------------------------------------------------------ -->
   3.137 +        <hr>
   3.138 +        <h2><a name="hg">Use of Mercurial</a></h2>
   3.139 +        <blockquote>
   3.140 +            The OpenJDK sources are maintained with the revision control system
   3.141 +            <a href="http://mercurial.selenic.com/wiki/Mercurial">Mercurial</a>.
   3.142 +            If you are new to Mercurial, please see the
   3.143 +            <a href="http://mercurial.selenic.com/wiki/BeginnersGuides">Beginner Guides</a>
   3.144 +            or refer to the <a href=""http://hgbook.red-bean.com/">Mercurial Book</a>.
   3.145 +            The first few chapters of the book provide an excellent overview of
   3.146 +            Mercurial, what it is and how it works.
   3.147 +            <br>
   3.148 +            For using Mercurial with the OpenJDK refer to the
   3.149 +            <a href=""http://openjdk.java.net/guide/repositories.html#installConfig">
   3.150 +               Developer Guide: Installing and Configuring Mercurial</a>
   3.151 +            section for more information.
   3.152 +            The Forest Extension is not part of the Mercurial install,
   3.153 +            and is optional,
   3.154 +            but can be obtained with the following commands:
   3.155 +            <blockquote>
   3.156 +                <tt>
   3.157 +                    hg clone https://bitbucket.org/pmezard/hgforest-crew/overview/ <i>YourHgForest</i>
   3.158 +                </tt>
   3.159 +            </blockquote>
   3.160 +            Once you have the file <tt>forest.py</tt>, you need to add these
   3.161 +            lines to your <tt>${HOME}/.hgrc</tt> file:
   3.162 +            <blockquote>
   3.163 +                <tt>
   3.164 +                    [extensions]
   3.165 +                    <br>forest = <i>YourHgForest</i>/forest.py
   3.166 +                </tt>
   3.167 +            </blockquote>
   3.168 +
   3.169 +            <!-- ------------------------------------------------------ -->
   3.170 +            <h3><a name="get_source">Getting the Source</a></h3>
   3.171 +            <blockquote>
   3.172 +                To get the entire set of OpenJDK Mercurial repositories
   3.173 +                using the Forest Extension:
   3.174 +                <blockquote>
   3.175 +                    <tt>
   3.176 +                        hg fclone http://openjdk.java.net/jdk7/jdk7 <i>YourOpenJDK</i>
   3.177 +                    </tt>
   3.178 +                </blockquote>
   3.179 +                To get the entire set of OpenJDK Mercurial repositories
   3.180 +                without using the Forest Extension:
   3.181 +                <blockquote>
   3.182 +                    <tt>
   3.183 +                        hg clone http://openjdk.java.net/jdk7/jdk7 <i>YourOpenJDK</i>
   3.184 +                        <br>cd <i>YourOpenJDK</i>
   3.185 +                        <br>sh ./get_source.sh
   3.186 +                    </tt>
   3.187 +                </blockquote>
   3.188 +                Once you have all the repositories, the
   3.189 +                script <tt>make/scripts/hgforest.sh</tt>
   3.190 +                can be used to repeat the same <tt>hg</tt>
   3.191 +                command on every repository in the forest, e.g.
   3.192 +                <blockquote>
   3.193 +                    <tt>
   3.194 +                        cd <i>YourOpenJDK</i>
   3.195 +                        <br>sh ./make/scripts/hgforest.sh pull -u
   3.196 +                    </tt>
   3.197 +                </blockquote>
   3.198 +                You may find this script <tt>make/scripts/hgforest.sh</tt> faster
   3.199 +                than the <tt>hg</tt> forest commands provided by the
   3.200 +                Forest Extension.
   3.201 +            </blockquote>
   3.202 +
   3.203 +        </blockquote>
   3.204 +
   3.205          <!-- ------------------------------------------------------ -->
   3.206          <hr>
   3.207          <h2><a name="MBE">Minimum Build Environments</a></h2>
   3.208 @@ -116,8 +191,8 @@
   3.209              specific platforms, and in fact creating these specific platforms
   3.210              may be difficult due to the age of some of this software.
   3.211              <p>
   3.212 -            The minimum OS and C/C++ compiler versions needed for building the
   3.213 -            OpenJDK:
   3.214 +                The minimum OS and C/C++ compiler versions needed for building the
   3.215 +                OpenJDK:
   3.216              <p>
   3.217              <table border="1">
   3.218                  <thead>
   3.219 @@ -146,7 +221,7 @@
   3.220                          <td>Solaris 10u2 + patches 
   3.221                              <br>
   3.222                              See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
   3.223 -                            SunSolve</a> for patch downloads.
   3.224 +                                SunSolve</a> for patch downloads.
   3.225                          </td>
   3.226                          <td>Sun Studio 12 Update 1 + patches</td>
   3.227                          <td>JDK 6u14 FCS </td>
   3.228 @@ -156,7 +231,7 @@
   3.229                          <td>Solaris 10u2 + patches
   3.230                              <br>
   3.231                              See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
   3.232 -                            SunSolve</a> for patch downloads.
   3.233 +                                SunSolve</a> for patch downloads.
   3.234                          </td>
   3.235                          <td>Sun Studio 12 Update 1 + patches</td>
   3.236                          <td>JDK 6u14 FCS </td>
   3.237 @@ -166,7 +241,7 @@
   3.238                          <td>Solaris 10u2 + patches
   3.239                              <br>
   3.240                              See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
   3.241 -                            SunSolve</a> for patch downloads.
   3.242 +                                SunSolve</a> for patch downloads.
   3.243                          </td>
   3.244                          <td>Sun Studio 12 Update 1 + patches</td>
   3.245                          <td>JDK 6u14 FCS </td>
   3.246 @@ -176,7 +251,7 @@
   3.247                          <td>Solaris 10u2 + patches
   3.248                              <br>
   3.249                              See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
   3.250 -                            SunSolve</a> for patch downloads.
   3.251 +                                SunSolve</a> for patch downloads.
   3.252                          </td>
   3.253                          <td>Sun Studio 12 Update 1 + patches</td>
   3.254                          <td>JDK 6u14 FCS </td>
   3.255 @@ -195,14 +270,14 @@
   3.256                      </tr>
   3.257                  </tbody>
   3.258              </table>
   3.259 -	    <p>
   3.260 +            <p>
   3.261  	    These same sources do indeed build on many more systems than the
   3.262  	    above older generation systems, again the above is just a minimum.
   3.263 -	    <p>
   3.264 +            <p>
   3.265  	    Compilation problems with newer or different C/C++ compilers is a
   3.266  	    common problem.
   3.267  	    Similarly, compilation problems related to changes to the
   3.268 -	    <tt>/usr/include</tt> or system header files is also a
   3.269 +                <tt>/usr/include</tt> or system header files is also a
   3.270  	    common problem with newer or unreleased OS versions.
   3.271  	    Please report these types of problems as bugs so that they
   3.272  	    can be dealt with accordingly.
   3.273 @@ -217,57 +292,57 @@
   3.274          <!-- ------------------------------------------------------ -->
   3.275          <h3><a name="fedora">Fedora</a></h3>
   3.276          <blockquote>
   3.277 -	  <h4>Fedora 9</h4>
   3.278 -	  <p>
   3.279 -	    <blockquote>
   3.280 -              After installing <a href="http://fedoraproject.org">Fedora</a> 9 
   3.281 +            <h4>Fedora 9</h4>
   3.282 +            <p>
   3.283 +            <blockquote>
   3.284 +                After installing <a href="http://fedoraproject.org">Fedora</a> 9
   3.285  	      you need to install several build dependencies. The simplest
   3.286  	      way to do it is to execute the following commands as user 
   3.287 -	      <tt>root</tt>:
   3.288 -	      <p/>
   3.289 -	      <code>yum-builddep java-openjdk</code>
   3.290 -	      <p/>
   3.291 -	      <code>yum install gcc gcc-c++</code>
   3.292 -	      <p/>
   3.293 +                <tt>root</tt>:
   3.294 +                <p/>
   3.295 +                <code>yum-builddep java-openjdk</code>
   3.296 +                <p/>
   3.297 +                <code>yum install gcc gcc-c++</code>
   3.298 +                <p/>
   3.299  	      In addition, it's necessary to set a few environment variables for the build:
   3.300  
   3.301 -	      <p/>
   3.302 -	      <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
   3.303 +                <p/>
   3.304 +                <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
   3.305              </blockquote>
   3.306 -	  <h4>Fedora 10</h4>
   3.307 -	  <p>
   3.308 -	    <blockquote>
   3.309 -              After installing <a href="http://fedoraproject.org">Fedora</a> 10 
   3.310 +            <h4>Fedora 10</h4>
   3.311 +            <p>
   3.312 +            <blockquote>
   3.313 +                After installing <a href="http://fedoraproject.org">Fedora</a> 10
   3.314  	      you need to install several build dependencies. The simplest
   3.315  	      way to do it is to execute the following commands as user 
   3.316 -	      <tt>root</tt>:
   3.317 -	      <p/>
   3.318 -	      <code>yum-builddep java-1.6.0-openjdk</code>
   3.319 -	      <p/>
   3.320 -	      <code>yum install gcc gcc-c++</code>
   3.321 -	      <p/>
   3.322 +                <tt>root</tt>:
   3.323 +                <p/>
   3.324 +                <code>yum-builddep java-1.6.0-openjdk</code>
   3.325 +                <p/>
   3.326 +                <code>yum install gcc gcc-c++</code>
   3.327 +                <p/>
   3.328  	      In addition, it's necessary to set a few environment variables for the build:
   3.329  
   3.330 -	      <p/>
   3.331 -	      <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
   3.332 +                <p/>
   3.333 +                <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
   3.334              </blockquote>
   3.335 -	  <h4>Fedora 11</h4>
   3.336 -	  <p>
   3.337 -	    <blockquote>
   3.338 -              After installing <a href="http://fedoraproject.org">Fedora</a> 11 
   3.339 +            <h4>Fedora 11</h4>
   3.340 +            <p>
   3.341 +            <blockquote>
   3.342 +                After installing <a href="http://fedoraproject.org">Fedora</a> 11
   3.343  	      you need to install several build dependencies. The simplest
   3.344  	      way to do it is to execute the following commands as user 
   3.345 -	      <tt>root</tt>:
   3.346 -	      <p/>
   3.347 -	      <code>yum-builddep java-1.6.0-openjdk</code>
   3.348 -	      <p/>
   3.349 -	      <code>yum install gcc gcc-c++</code>
   3.350 -	      <p/>
   3.351 +                <tt>root</tt>:
   3.352 +                <p/>
   3.353 +                <code>yum-builddep java-1.6.0-openjdk</code>
   3.354 +                <p/>
   3.355 +                <code>yum install gcc gcc-c++</code>
   3.356 +                <p/>
   3.357  	      In addition, it's necessary to set a few environment variables for the build:
   3.358  
   3.359 -	      <p/>
   3.360 -	      <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
   3.361 -             </blockquote>
   3.362 +                <p/>
   3.363 +                <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
   3.364 +            </blockquote>
   3.365          </blockquote>
   3.366          <!-- ------------------------------------------------------ -->
   3.367          <h3><a name="centos">CentOS 5.2</a></h3>
   3.368 @@ -285,7 +360,7 @@
   3.369                  </ul>
   3.370              </blockquote>
   3.371              <p>
   3.372 -            Plus the following packages:
   3.373 +                Plus the following packages:
   3.374              <blockquote>
   3.375                  <ul>
   3.376                      <li>cups devel: Cups Development Package</li>
   3.377 @@ -295,188 +370,188 @@
   3.378                  </ul>
   3.379              </blockquote>
   3.380              <p>
   3.381 -            The freetype 2.3 packages don't seem to be available,
   3.382 -            but the freetype 2.3 sources can be downloaded, built,
   3.383 -            and installed easily enough from
   3.384 -            <a href="http://downloads.sourceforge.net/freetype">
   3.385 -            the freetype site</a>.
   3.386 -            Build and install with something like:
   3.387 +                The freetype 2.3 packages don't seem to be available,
   3.388 +                but the freetype 2.3 sources can be downloaded, built,
   3.389 +                and installed easily enough from
   3.390 +                <a href="http://downloads.sourceforge.net/freetype">
   3.391 +                    the freetype site</a>.
   3.392 +                Build and install with something like:
   3.393              <blockquote>
   3.394                  <tt>./configure && make && sudo -u root make install</tt>
   3.395              </blockquote>
   3.396              <p>
   3.397 -            Mercurial packages could not be found easily, but a Google
   3.398 -            search should find ones, and they usually include Python if
   3.399 -            it's needed.
   3.400 +                Mercurial packages could not be found easily, but a Google
   3.401 +                search should find ones, and they usually include Python if
   3.402 +                it's needed.
   3.403          </blockquote>
   3.404          <!-- ------------------------------------------------------ -->
   3.405          <h3><a name="debian">Debian</a></h3>
   3.406          <blockquote>
   3.407              <h4>Debian 5.0 (Lenny)</h4>
   3.408              <p>
   3.409 -	      <blockquote>
   3.410 +            <blockquote>
   3.411  		After installing <a href="http://debian.org">Debian</a> 5 
   3.412  		you need to install several build dependencies. 
   3.413  		The simplest way to install the build dependencies is to 
   3.414  		execute the following commands as user <tt>root</tt>:
   3.415 -		<p/>
   3.416 -		<code>aptitude build-dep openjdk-6</code>
   3.417 -		<p/>
   3.418 -		<code>aptitude install openjdk-6-jdk libmotif-dev</code>
   3.419 -		<p/>
   3.420 +                <p/>
   3.421 +                <code>aptitude build-dep openjdk-6</code>
   3.422 +                <p/>
   3.423 +                <code>aptitude install openjdk-6-jdk libmotif-dev</code>
   3.424 +                <p/>
   3.425  		In addition, it's necessary to set a few environment variables for the build:
   3.426 -		<p/>
   3.427 -		<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
   3.428 -	      </blockquote>
   3.429 +                <p/>
   3.430 +                <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
   3.431 +            </blockquote>
   3.432          </blockquote>
   3.433          <!-- ====================================================== -->
   3.434 -	<h3><a name="ubuntu">Ubuntu</a></h3>
   3.435 +        <h3><a name="ubuntu">Ubuntu</a></h3>
   3.436          <blockquote>
   3.437              <h4>Ubuntu 8.04</h4>
   3.438              <p>
   3.439 -	      <blockquote>
   3.440 +            <blockquote>
   3.441  		After installing <a href="http://ubuntu.org">Ubuntu</a> 8.04 
   3.442  		you need to install several build dependencies. 
   3.443 -		<p/>
   3.444 +                <p/>
   3.445  		First, you need to enable the universe repository in the 
   3.446  		Software Sources application and reload the repository 
   3.447  		information. The Software Sources application is available 
   3.448  		under the System/Administration menu. 
   3.449 -		<p/>
   3.450 +                <p/>
   3.451  		The simplest way to install the build dependencies is to 
   3.452  		execute the following commands:
   3.453 -		<p/>
   3.454 -		<code>sudo aptitude build-dep openjdk-6</code>
   3.455 -		<p/>
   3.456 -		<code>sudo aptitude install openjdk-6-jdk</code>
   3.457 -		<p/>
   3.458 +                <p/>
   3.459 +                <code>sudo aptitude build-dep openjdk-6</code>
   3.460 +                <p/>
   3.461 +                <code>sudo aptitude install openjdk-6-jdk</code>
   3.462 +                <p/>
   3.463  		In addition, it's necessary to set a few environment variables for the build:
   3.464 -		<p/>
   3.465 -		<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
   3.466 -              </blockquote>
   3.467 -           <h4>Ubuntu 8.10</h4>
   3.468 +                <p/>
   3.469 +                <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
   3.470 +            </blockquote>
   3.471 +            <h4>Ubuntu 8.10</h4>
   3.472              <p>
   3.473 -	      <blockquote>
   3.474 +            <blockquote>
   3.475  		After installing <a href="http://ubuntu.org">Ubuntu</a> 8.10 
   3.476  		you need to install several build dependencies. The simplest
   3.477  		way to do it is to execute the following commands:
   3.478 -		<p/>
   3.479 -		<code>sudo aptitude build-dep openjdk-6</code>
   3.480 -		<p/>
   3.481 -		<code>sudo aptitude install openjdk-6-jdk</code>
   3.482 -		<p/>
   3.483 +                <p/>
   3.484 +                <code>sudo aptitude build-dep openjdk-6</code>
   3.485 +                <p/>
   3.486 +                <code>sudo aptitude install openjdk-6-jdk</code>
   3.487 +                <p/>
   3.488  		In addition, it's necessary to set a few environment variables for the build:
   3.489 -		<p/>
   3.490 -		<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
   3.491 -             </blockquote>
   3.492 -           <h4>Ubuntu 9.04</h4>
   3.493 +                <p/>
   3.494 +                <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
   3.495 +            </blockquote>
   3.496 +            <h4>Ubuntu 9.04</h4>
   3.497              <p>
   3.498 -	      <blockquote>
   3.499 +            <blockquote>
   3.500  		After installing <a href="http://ubuntu.org">Ubuntu</a> 9.04 
   3.501  		you need to install several build dependencies. The simplest
   3.502  		way to do it is to execute the following commands:
   3.503 -		<p/>
   3.504 -		<code>sudo aptitude build-dep openjdk-6</code>
   3.505 -		<p/>
   3.506 -		<code>sudo aptitude install openjdk-6-jdk</code>
   3.507 -		<p/>
   3.508 +                <p/>
   3.509 +                <code>sudo aptitude build-dep openjdk-6</code>
   3.510 +                <p/>
   3.511 +                <code>sudo aptitude install openjdk-6-jdk</code>
   3.512 +                <p/>
   3.513  		In addition, it's necessary to set a few environment variables for the build:
   3.514 -		<p/>
   3.515 -		<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
   3.516 -             </blockquote>
   3.517 +                <p/>
   3.518 +                <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
   3.519 +            </blockquote>
   3.520          </blockquote>
   3.521          <!-- ====================================================== -->
   3.522          <h3><a name="opensuse">OpenSUSE</a></h3>
   3.523          <blockquote>
   3.524              <h4>OpenSUSE 11.1</h4>
   3.525              <p>
   3.526 -	      <blockquote>
   3.527 +            <blockquote>
   3.528  		After installing <a href="http://opensuse.org">OpenSUSE</a> 11.1 
   3.529  		you need to install several build dependencies. 
   3.530  		The simplest way to install the build dependencies is to 
   3.531  		execute the following commands:
   3.532 -		<p/>
   3.533 -		<code>sudo zypper source-install -d java-1_6_0-openjdk</code>
   3.534 -		<p/>
   3.535 -		<code>sudo zypper install make</code>
   3.536 -		<p/>
   3.537 +                <p/>
   3.538 +                <code>sudo zypper source-install -d java-1_6_0-openjdk</code>
   3.539 +                <p/>
   3.540 +                <code>sudo zypper install make</code>
   3.541 +                <p/>
   3.542  		In addition, it is necessary to set a few environment variables for the build:
   3.543 -		<p/>
   3.544 -		<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
   3.545 -		<p/>
   3.546 +                <p/>
   3.547 +                <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
   3.548 +                <p/>
   3.549  		Finally, you need to unset the <code>JAVA_HOME</code> environment variable:
   3.550 -		<p/>
   3.551 -		<code>export -n JAVA_HOME</code>
   3.552 -	      </blockquote>
   3.553 -	</blockquote>
   3.554 +                <p/>
   3.555 +                <code>export -n JAVA_HOME</code>
   3.556 +            </blockquote>
   3.557 +        </blockquote>
   3.558          <!-- ====================================================== -->
   3.559          <h3><a name="mandriva">Mandriva</a></h3>
   3.560          <blockquote>
   3.561              <h4>Mandriva Linux One 2009 Spring</h4>
   3.562              <p>
   3.563 -	      <blockquote>
   3.564 +            <blockquote>
   3.565  		After installing <a href="http://mandriva.org">Mandriva</a> Linux One 2009 Spring 
   3.566  		you need to install several build dependencies. 
   3.567  		The simplest way to install the build dependencies is to 
   3.568  		execute the following commands as user <tt>root</tt>:
   3.569 -		<p/>
   3.570 -		<code>urpmi java-1.6.0-openjdk-devel ant make gcc gcc-c++ freetype-devel zip unzip libcups2-devel libxrender1-devel libalsa2-devel libstc++-static-devel libxtst6-devel libxi-devel</code>
   3.571 +                <p/>
   3.572 +                <code>urpmi java-1.6.0-openjdk-devel ant make gcc gcc-c++ freetype-devel zip unzip libcups2-devel libxrender1-devel libalsa2-devel libstc++-static-devel libxtst6-devel libxi-devel</code>
   3.573                  <p/>
   3.574  		In addition, it is necessary to set a few environment variables for the build:
   3.575 -		<p/>
   3.576 -		<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
   3.577 -	      </blockquote>
   3.578 +                <p/>
   3.579 +                <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
   3.580 +            </blockquote>
   3.581          </blockquote>
   3.582          <!-- ====================================================== -->
   3.583          <h3><a name="opensolaris">OpenSolaris</a></h3>
   3.584          <blockquote>
   3.585              <h4>OpenSolaris 2009.06</h4>
   3.586              <p>
   3.587 -	      <blockquote>
   3.588 +            <blockquote>
   3.589  		After installing <a href="http://opensolaris.org">OpenSolaris</a> 2009.06 
   3.590  		you need to install several build dependencies. 
   3.591  		The simplest way to install the build dependencies is to 
   3.592  		execute the following commands:
   3.593 -		<p/>
   3.594 -		<code>pfexec pkg install SUNWgmake SUNWj6dev SUNWant sunstudioexpress SUNWcups SUNWzip SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2</code>
   3.595 +                <p/>
   3.596 +                <code>pfexec pkg install SUNWgmake SUNWj6dev SUNWant sunstudioexpress SUNWcups SUNWzip SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2</code>
   3.597                  <p/>
   3.598  		In addition, it is necessary to set a few environment variables for the build:
   3.599 -		<p/>
   3.600 -		<code>export LANG=C ALT_COMPILER_PATH=/opt/SunStudioExpress/bin/ ALT_CUPS_HEADERS_PATH=/usr/include/</code>
   3.601 -		<p/>
   3.602 +                <p/>
   3.603 +                <code>export LANG=C ALT_COMPILER_PATH=/opt/SunStudioExpress/bin/ ALT_CUPS_HEADERS_PATH=/usr/include/</code>
   3.604 +                <p/>
   3.605  		Finally, you need to make sure that the build process can find the Sun Studio compilers:
   3.606 -		<p/>
   3.607 -		<code>export PATH=$PATH:/opt/SunStudioExpress/bin/</code>
   3.608 -	      </blockquote>
   3.609 +                <p/>
   3.610 +                <code>export PATH=$PATH:/opt/SunStudioExpress/bin/</code>
   3.611 +            </blockquote>
   3.612          </blockquote>
   3.613          <!-- ------------------------------------------------------ -->  
   3.614          <hr>
   3.615          <h2><a name="directories">Source Directory Structure</a></h2>
   3.616          <blockquote>
   3.617              <p>
   3.618 -            The source code for the OpenJDK is delivered in a set of
   3.619 -            directories:
   3.620 -            <tt>hotspot</tt>, 
   3.621 -            <tt>langtools</tt>, 
   3.622 -            <tt>corba</tt>, 
   3.623 -            <tt>jaxws</tt>, 
   3.624 -            <tt>jaxp</tt>, 
   3.625 -            and
   3.626 -            <tt>jdk</tt>.
   3.627 -            The <tt>hotspot</tt> directory contains the source code and make
   3.628 -            files for building the OpenJDK Hotspot Virtual Machine. 
   3.629 -            The <tt>langtools</tt> directory contains the source code and make
   3.630 -            files for building the OpenJDK javac and language tools.
   3.631 -            The <tt>corba</tt> directory contains the source code and make
   3.632 -            files for building the OpenJDK Corba files.
   3.633 -            The <tt>jaxws</tt> directory contains the source code and make
   3.634 -            files for building the OpenJDK JAXWS files.
   3.635 -            The <tt>jaxp</tt> directory contains the source code and make
   3.636 -            files for building the OpenJDK JAXP files.
   3.637 -            The <tt>jdk</tt> directory contains the source code and make files for
   3.638 -            building the OpenJDK runtime libraries and misc files.
   3.639 -            The top level <tt>Makefile</tt>
   3.640 -            is used to build the entire OpenJDK.
   3.641 +                The source code for the OpenJDK is delivered in a set of
   3.642 +                directories:
   3.643 +                <tt>hotspot</tt>,
   3.644 +                <tt>langtools</tt>,
   3.645 +                <tt>corba</tt>,
   3.646 +                <tt>jaxws</tt>,
   3.647 +                <tt>jaxp</tt>,
   3.648 +                and
   3.649 +                <tt>jdk</tt>.
   3.650 +                The <tt>hotspot</tt> directory contains the source code and make
   3.651 +                files for building the OpenJDK Hotspot Virtual Machine.
   3.652 +                The <tt>langtools</tt> directory contains the source code and make
   3.653 +                files for building the OpenJDK javac and language tools.
   3.654 +                The <tt>corba</tt> directory contains the source code and make
   3.655 +                files for building the OpenJDK Corba files.
   3.656 +                The <tt>jaxws</tt> directory contains the source code and make
   3.657 +                files for building the OpenJDK JAXWS files.
   3.658 +                The <tt>jaxp</tt> directory contains the source code and make
   3.659 +                files for building the OpenJDK JAXP files.
   3.660 +                The <tt>jdk</tt> directory contains the source code and make files for
   3.661 +                building the OpenJDK runtime libraries and misc files.
   3.662 +                The top level <tt>Makefile</tt>
   3.663 +                is used to build the entire OpenJDK.
   3.664          </blockquote>
   3.665          <!-- ------------------------------------------------------ -->
   3.666          <hr>
   3.667 @@ -495,10 +570,10 @@
   3.668              <tt>ALT_*</tt> variables (alternates)
   3.669              can be used to help the makefiles locate components.
   3.670              <p>
   3.671 -            Refer to the bash/sh/ksh setup file
   3.672 -            <tt>jdk/make/jdk_generic_profile.sh</tt>
   3.673 -            if you need help in setting up your environment variables.
   3.674 -            A build could be as simple as:
   3.675 +                Refer to the bash/sh/ksh setup file
   3.676 +                <tt>jdk/make/jdk_generic_profile.sh</tt>
   3.677 +                if you need help in setting up your environment variables.
   3.678 +                A build could be as simple as:
   3.679              <blockquote>
   3.680                  <pre><tt>
   3.681                  bash
   3.682 @@ -507,12 +582,12 @@
   3.683                  </tt></pre>
   3.684              </blockquote>
   3.685              <p>
   3.686 -            Of course ksh or sh would work too.
   3.687 -            But some customization will probably be necessary.
   3.688 -            The <tt>sanity</tt> rule will make some basic checks on build
   3.689 -            dependencies and generate appropriate warning messages
   3.690 -            regarding missing, out of date, or newer than expected components
   3.691 -            found on your system.
   3.692 +                Of course ksh or sh would work too.
   3.693 +                But some customization will probably be necessary.
   3.694 +                The <tt>sanity</tt> rule will make some basic checks on build
   3.695 +                dependencies and generate appropriate warning messages
   3.696 +                regarding missing, out of date, or newer than expected components
   3.697 +                found on your system.
   3.698          </blockquote>
   3.699          <!-- ------------------------------------------------------ -->
   3.700          <hr>
   3.701 @@ -559,14 +634,14 @@
   3.702                      version that has this problem fixed.
   3.703                      The older 3.80 version of make.exe can be downloaded with this
   3.704                      <a href="http://cygwin.paracoda.com/release/make/make-3.80-1.tar.bz2" target="_blank">
   3.705 -                    link</a>.
   3.706 +                        link</a>.
   3.707                      Use of this older 3.80 make.exe may require that you install the
   3.708                      libintl2.dll library or libintl2 cygwin package which is
   3.709                      no longer installed by default by the cygwin installer.
   3.710                      <br>
   3.711                      Also see the
   3.712                      <a href="http://developer.mozilla.org/en/docs/Windows_build_prerequisites_using_cygwin#make" target="_blank">
   3.713 -                    mozilla developer center</a>
   3.714 +                        mozilla developer center</a>
   3.715                      on this topic.
   3.716                      <br>
   3.717                      It's hoped that when make 3.82 starts shipping in a future cygwin
   3.718 @@ -574,19 +649,19 @@
   3.719                      In addition to the above 3.80 make.exe you can download 
   3.720                      this
   3.721                      <a href="http://www.cmake.org/files/cygwin/make.exe">
   3.722 -                    www.cmake.org make.exe</a> which will not have a libintl2.dll
   3.723 +                        www.cmake.org make.exe</a> which will not have a libintl2.dll
   3.724                      dependency.
   3.725                  </li>
   3.726              </ul>
   3.727              <p>
   3.728 -            Information on GNU make, and access to ftp download sites, are
   3.729 -            available on the
   3.730 -            <a href="http://www.gnu.org/software/make/make.html" target="_blank">
   3.731 -                GNU make web site
   3.732 -            </a>.
   3.733 -            The latest source to GNU make is available at
   3.734 -            <a href="http://ftp.gnu.org/pub/gnu/make/" target="_blank">
   3.735 -            ftp.gnu.org/pub/gnu/make/</a>.
   3.736 +                Information on GNU make, and access to ftp download sites, are
   3.737 +                available on the
   3.738 +                <a href="http://www.gnu.org/software/make/make.html" target="_blank">
   3.739 +                    GNU make web site
   3.740 +                </a>.
   3.741 +                The latest source to GNU make is available at
   3.742 +                <a href="http://ftp.gnu.org/pub/gnu/make/" target="_blank">
   3.743 +                    ftp.gnu.org/pub/gnu/make/</a>.
   3.744          </blockquote>
   3.745          <!-- ------------------------------------------------------ -->
   3.746          <hr>
   3.747 @@ -597,27 +672,27 @@
   3.748              is a Pentium class processor or better, at least 256 MB of RAM, and
   3.749              approximately 1.5 GB of free disk space.
   3.750              <p> 
   3.751 -            <strong>X64 only:</strong>
   3.752 -            The minimum recommended hardware for building the Linux
   3.753 -            version is an AMD Opteron class processor, at least 512 MB of RAM, and
   3.754 -            approximately 4 GB of free disk space.
   3.755 +                <strong>X64 only:</strong>
   3.756 +                The minimum recommended hardware for building the Linux
   3.757 +                version is an AMD Opteron class processor, at least 512 MB of RAM, and
   3.758 +                approximately 4 GB of free disk space.
   3.759              <p> 
   3.760 -            The build will use the tools contained in 
   3.761 -            <tt>/bin</tt> and 
   3.762 -            <tt>/usr/bin</tt>
   3.763 -            of a standard installation of the Linux operating environment. 
   3.764 -            You should ensure that these directories are in your 
   3.765 -            <tt>PATH</tt>.
   3.766 +                The build will use the tools contained in
   3.767 +                <tt>/bin</tt> and
   3.768 +                <tt>/usr/bin</tt>
   3.769 +                of a standard installation of the Linux operating environment.
   3.770 +                You should ensure that these directories are in your
   3.771 +                <tt>PATH</tt>.
   3.772              <p>
   3.773 -            Note that some Linux systems have a habit of pre-populating
   3.774 -            your environment variables for you, for example <tt>JAVA_HOME</tt>
   3.775 -            might get pre-defined for you to refer to the JDK installed on
   3.776 -            your Linux system. 
   3.777 -            You will need to unset <tt>JAVA_HOME</tt>.
   3.778 -            It's a good idea to run <tt>env</tt> and verify the
   3.779 -            environment variables you are getting from the default system
   3.780 -            settings make sense for building the 
   3.781 -            OpenJDK.
   3.782 +                Note that some Linux systems have a habit of pre-populating
   3.783 +                your environment variables for you, for example <tt>JAVA_HOME</tt>
   3.784 +                might get pre-defined for you to refer to the JDK installed on
   3.785 +                your Linux system.
   3.786 +                You will need to unset <tt>JAVA_HOME</tt>.
   3.787 +                It's a good idea to run <tt>env</tt> and verify the
   3.788 +                environment variables you are getting from the default system
   3.789 +                settings make sense for building the
   3.790 +                OpenJDK.
   3.791          </blockquote>
   3.792          <!-- ------------------------------------------------------ -->
   3.793          <h4><a name="linux_checklist">Basic Linux Check List</a></h4>
   3.794 @@ -629,17 +704,12 @@
   3.795                      <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>.
   3.796                  </li>
   3.797                  <li>
   3.798 -                    Install the
   3.799 -                    <a href="#binaryplugs">Binary Plugs</a>, set
   3.800 -                    <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>.
   3.801 -                </li>
   3.802 -                <li>
   3.803                      <a href="#importjdk">Optional Import JDK</a>, set
   3.804                      <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   3.805                  </li>
   3.806                  <li>
   3.807                      Install or upgrade the <a href="#freetype">FreeType development
   3.808 -                    package</a>.
   3.809 +                        package</a>.
   3.810                  </li>
   3.811                  <li>
   3.812                      Install
   3.813 @@ -660,23 +730,23 @@
   3.814              Approximately 1.4 GB of free disk
   3.815              space is needed for a 32-bit build.
   3.816              <p>
   3.817 -            If you are building the 64-bit version, you should
   3.818 -            run the command "isainfo -v" to verify that you have a
   3.819 -            64-bit installation, it should say <tt>sparcv9</tt> or
   3.820 -            <tt>amd64</tt>.
   3.821 -            An additional 7 GB of free disk space is needed
   3.822 -            for a 64-bit build.
   3.823 +                If you are building the 64-bit version, you should
   3.824 +                run the command "isainfo -v" to verify that you have a
   3.825 +                64-bit installation, it should say <tt>sparcv9</tt> or
   3.826 +                <tt>amd64</tt>.
   3.827 +                An additional 7 GB of free disk space is needed
   3.828 +                for a 64-bit build.
   3.829              <p> 
   3.830 -            The build uses the tools contained in <tt>/usr/ccs/bin</tt>
   3.831 -            and <tt>/usr/bin</tt> of a standard developer or full installation of
   3.832 -            the Solaris operating environment.
   3.833 +                The build uses the tools contained in <tt>/usr/ccs/bin</tt>
   3.834 +                and <tt>/usr/bin</tt> of a standard developer or full installation of
   3.835 +                the Solaris operating environment.
   3.836              <p> 
   3.837 -            Solaris patches specific to the JDK can be downloaded from the 
   3.838 -            <a href="http://sunsolve.sun.com/show.do?target=patches/JavaSE" target="_blank">
   3.839 -            SunSolve JDK Solaris patches download page</a>.
   3.840 -            You should ensure that the latest patch cluster for
   3.841 -            your version of the Solaris operating environment has also
   3.842 -            been installed.
   3.843 +                Solaris patches specific to the JDK can be downloaded from the
   3.844 +                <a href="http://sunsolve.sun.com/show.do?target=patches/JavaSE" target="_blank">
   3.845 +                    SunSolve JDK Solaris patches download page</a>.
   3.846 +                You should ensure that the latest patch cluster for
   3.847 +                your version of the Solaris operating environment has also
   3.848 +                been installed.
   3.849          </blockquote>
   3.850          <!-- ------------------------------------------------------ -->
   3.851          <h4><a name="solaris_checklist">Basic Solaris Check List</a></h4>
   3.852 @@ -688,11 +758,6 @@
   3.853                      <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>.
   3.854                  </li>
   3.855                  <li>
   3.856 -                    Install the
   3.857 -                    <a href="#binaryplugs">Binary Plugs</a>, set
   3.858 -                    <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>.
   3.859 -                </li>
   3.860 -                <li>
   3.861                      <a href="#importjdk">Optional Import JDK</a>, set
   3.862                      <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   3.863                  </li>
   3.864 @@ -731,10 +796,10 @@
   3.865                  because FAT32 doesn't support case-sensitivity in file names.
   3.866              </strong>
   3.867              <p> 
   3.868 -            <strong>X64 only:</strong>
   3.869 -            The minimum recommended hardware for building
   3.870 -            the Windows X64 version is an AMD Opteron class processor, at least 1
   3.871 -            GB of RAM, and approximately 10 GB of free disk space.
   3.872 +                <strong>X64 only:</strong>
   3.873 +                The minimum recommended hardware for building
   3.874 +                the Windows X64 version is an AMD Opteron class processor, at least 1
   3.875 +                GB of RAM, and approximately 10 GB of free disk space.
   3.876          </blockquote>
   3.877          <!-- ------------------------------------------------------ -->
   3.878          <h4><a name="paths">Windows Paths</a></h4>
   3.879 @@ -753,18 +818,18 @@
   3.880              (called 'mixed'), e.g.
   3.881              <tt>cygpath -s -m "<i>path</i>"</tt>.
   3.882              <p>
   3.883 -            The makefiles will try to translate any pathnames supplied
   3.884 -            to it into the <tt>C:/</tt> style automatically.
   3.885 +                The makefiles will try to translate any pathnames supplied
   3.886 +                to it into the <tt>C:/</tt> style automatically.
   3.887              <p>
   3.888 -            Note that use of CYGWIN creates a unique problem with regards to
   3.889 -            setting <a href="#path"><tt>PATH</tt></a>. Normally on Windows
   3.890 -            the <tt>PATH</tt> variable contains directories
   3.891 -            separated with the ";" character (Solaris and Linux uses ":").
   3.892 -            With CYGWIN, it uses ":", but that means that paths like "C:/path"
   3.893 -            cannot be placed in the CYGWIN version  of <tt>PATH</tt> and
   3.894 -            instead CYGWIN uses something like <tt>/cygdrive/c/path</tt>
   3.895 -            which CYGWIN understands, but only CYGWIN understands.
   3.896 -            So be careful with paths on Windows.
   3.897 +                Note that use of CYGWIN creates a unique problem with regards to
   3.898 +                setting <a href="#path"><tt>PATH</tt></a>. Normally on Windows
   3.899 +                the <tt>PATH</tt> variable contains directories
   3.900 +                separated with the ";" character (Solaris and Linux uses ":").
   3.901 +                With CYGWIN, it uses ":", but that means that paths like "C:/path"
   3.902 +                cannot be placed in the CYGWIN version  of <tt>PATH</tt> and
   3.903 +                instead CYGWIN uses something like <tt>/cygdrive/c/path</tt>
   3.904 +                which CYGWIN understands, but only CYGWIN understands.
   3.905 +                So be careful with paths on Windows.
   3.906          </blockquote>
   3.907          <!-- ------------------------------------------------------ -->
   3.908          <h4><a name="windows_checklist">Basic Windows Check List</a></h4>
   3.909 @@ -780,11 +845,6 @@
   3.910                      <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>.
   3.911                  </li>
   3.912                  <li>
   3.913 -                    Install the
   3.914 -                    <a href="#binaryplugs">Binary Plugs</a>, set
   3.915 -                    <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>..
   3.916 -                </li>
   3.917 -                <li>
   3.918                      <a href="#importjdk">Optional Import JDK</a>, set
   3.919                      <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   3.920                  </li>
   3.921 @@ -828,7 +888,7 @@
   3.922                  JDK 6, this is often called a bootstrap JDK.
   3.923                  The JDK 6 binaries can be downloaded from Sun's 
   3.924                  <a href="http://java.sun.com/javase/downloads/index.jsp"
   3.925 -		target="_blank">JDK 6 download site</a>.
   3.926 +                   target="_blank">JDK 6 download site</a>.
   3.927                  For build performance reasons
   3.928                  is very important that this bootstrap JDK be made available on the
   3.929                  local disk of the machine doing the build.
   3.930 @@ -841,44 +901,12 @@
   3.931                  in the <tt>PATH</tt> environment variable, although it's
   3.932                  not required.
   3.933                  <p>
   3.934 -                <strong>Solaris:</strong>
   3.935 -                Some pre-installed JDK images may be available to you in the
   3.936 -                directory <tt>/usr/jdk/instances</tt>.
   3.937 -                If you don't set
   3.938 -                <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>
   3.939 -                the makefiles will look in that location for a JDK it can use.
   3.940 -            </blockquote>
   3.941 -            <!-- ------------------------------------------------------ -->
   3.942 -            <h4><a name="binaryplugs">Binary Plugs</a></h4>
   3.943 -            <blockquote>
   3.944 -                Not all of the source code that makes up the JDK is available
   3.945 -                under an open-source license.
   3.946 -                This is a temporary situation and these binary plugs will be
   3.947 -                replaced with fully open source replacements as soon as possible.
   3.948 -                So currently, in order to build a complete OpenJDK image,
   3.949 -                you must first download and install the appropriate
   3.950 -                binary plug bundles for the OpenJDK, go to the
   3.951 -                <a href="http://openjdk.java.net" target="_blank">OpenJDK</a> site and select
   3.952 -                the 
   3.953 -                "<b>Bundles(7)</b>"
   3.954 -                link and download the binaryplugs for
   3.955 -                your particular platform.
   3.956 -                The file downloaded is a jar file that must be extracted by running
   3.957 -                the jar file with:
   3.958 -                <blockquote>
   3.959 -                    <pre>
   3.960 -            <tt><b>java -jar jdk-7-ea-plug-b<i>nn</i>-<i>os</i>-<i>arch</i>-<i>dd</i>_<i>month</i>_<i>year</i>.jar</b></tt>
   3.961 -                    </pre>
   3.962 -                </blockquote>
   3.963 -                A prompt will be issued for acceptance of these binary plug files.
   3.964 -                During the OpenJDK build process these "binary plugs"
   3.965 -                for the encumbered components will be copied into your
   3.966 -                resulting OpenJDK binary build image.
   3.967 -                These binary plug files are only for the purpose of
   3.968 -                building an OpenJDK binary.
   3.969 -                Make sure you set
   3.970 -                <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>
   3.971 -                to the root of this installation.
   3.972 +                    <strong>Solaris:</strong>
   3.973 +                    Some pre-installed JDK images may be available to you in the
   3.974 +                    directory <tt>/usr/jdk/instances</tt>.
   3.975 +                    If you don't set
   3.976 +                    <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>
   3.977 +                    the makefiles will look in that location for a JDK it can use.
   3.978              </blockquote>
   3.979              <!-- ------------------------------------------------------ -->
   3.980              <h4><a name="importjdk">Optional Import JDK</a></h4>
   3.981 @@ -896,7 +924,7 @@
   3.982                  All OpenJDK builds require access to least Ant 1.6.5.
   3.983                  The Ant tool is available from the 
   3.984                  <a href="http://ant.apache.org" target="_blank">
   3.985 -                Ant download site</a>.
   3.986 +                    Ant download site</a>.
   3.987                  You should always make sure <tt>ant</tt> is in your PATH, and
   3.988                  on Windows you may also need to set 
   3.989                  <tt><a href="#ANT_HOME">ANT_HOME</a></tt>
   3.990 @@ -908,7 +936,7 @@
   3.991              <h4><a name="cacerts">Certificate Authority File (cacert)</a></h4>
   3.992              <blockquote>
   3.993                  See <a href="http://en.wikipedia.org/wiki/Certificate_Authority" target="_blank">
   3.994 -                http://en.wikipedia.org/wiki/Certificate_Authority</a>
   3.995 +                    http://en.wikipedia.org/wiki/Certificate_Authority</a>
   3.996                  for a better understanding of the Certificate Authority (CA).
   3.997                  A certificates file named "cacerts"
   3.998                  represents a system-wide keystore with CA certificates. 
   3.999 @@ -942,121 +970,121 @@
  3.1000                  <blockquote>
  3.1001                      At a minimum, the
  3.1002                      <a href="http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index.htm" target="_blank">
  3.1003 -                    Sun Studio 12 Update 1 Compilers</a>
  3.1004 +                        Sun Studio 12 Update 1 Compilers</a>
  3.1005                      (containing version 5.10 of the C and C++ compilers) is required,
  3.1006  		    including specific patches.
  3.1007 -		    <p>
  3.1008 +                    <p>
  3.1009  		    The Solaris SPARC patch list is:
  3.1010 -		    <ul>
  3.1011 -		    <li>
  3.1012 -                    118683-05: SunOS 5.10: Patch for profiling libraries and assembler
  3.1013 -                    </li>
  3.1014 -                    <li>
  3.1015 -                    119963-21: SunOS 5.10: Shared library patch for C++
  3.1016 -                    </li>
  3.1017 -                    <li>
  3.1018 -                    120753-08: SunOS 5.10: Microtasking libraries (libmtsk) patch
  3.1019 -                    </li>
  3.1020 -                    <li>
  3.1021 -                    128228-09: Sun Studio 12 Update 1: Patch for Sun C++ Compiler
  3.1022 -                    </li>
  3.1023 -                    <li>
  3.1024 -                    141860-03: Sun Studio 12 Update 1: Patch for Compiler Common patch for Sun C C++ F77 F95
  3.1025 -                    </li>
  3.1026 -                    <li>
  3.1027 -                    141861-05: Sun Studio 12 Update 1: Patch for Sun C Compiler
  3.1028 -                    </li>
  3.1029 -                    <li>
  3.1030 -                    142371-01: Sun Studio 12.1 Update 1: Patch for dbx
  3.1031 -                    </li>
  3.1032 -                    <li>
  3.1033 -                    143384-02: Sun Studio 12 Update 1: Patch for debuginfo handling
  3.1034 -                    </li>
  3.1035 -                    <li>
  3.1036 -                    143385-02: Sun Studio 12 Update 1: Patch for Compiler Common patch for Sun C C++ F77 F95
  3.1037 -                    </li>
  3.1038 -                    <li>
  3.1039 -                    142369-01: Sun Studio 12.1: Patch for Performance Analyzer Tools
  3.1040 -                    </li>
  3.1041 +                    <ul>
  3.1042 +                        <li>
  3.1043 +                            118683-05: SunOS 5.10: Patch for profiling libraries and assembler
  3.1044 +                        </li>
  3.1045 +                        <li>
  3.1046 +                            119963-21: SunOS 5.10: Shared library patch for C++
  3.1047 +                        </li>
  3.1048 +                        <li>
  3.1049 +                            120753-08: SunOS 5.10: Microtasking libraries (libmtsk) patch
  3.1050 +                        </li>
  3.1051 +                        <li>
  3.1052 +                            128228-09: Sun Studio 12 Update 1: Patch for Sun C++ Compiler
  3.1053 +                        </li>
  3.1054 +                        <li>
  3.1055 +                            141860-03: Sun Studio 12 Update 1: Patch for Compiler Common patch for Sun C C++ F77 F95
  3.1056 +                        </li>
  3.1057 +                        <li>
  3.1058 +                            141861-05: Sun Studio 12 Update 1: Patch for Sun C Compiler
  3.1059 +                        </li>
  3.1060 +                        <li>
  3.1061 +                            142371-01: Sun Studio 12.1 Update 1: Patch for dbx
  3.1062 +                        </li>
  3.1063 +                        <li>
  3.1064 +                            143384-02: Sun Studio 12 Update 1: Patch for debuginfo handling
  3.1065 +                        </li>
  3.1066 +                        <li>
  3.1067 +                            143385-02: Sun Studio 12 Update 1: Patch for Compiler Common patch for Sun C C++ F77 F95
  3.1068 +                        </li>
  3.1069 +                        <li>
  3.1070 +                            142369-01: Sun Studio 12.1: Patch for Performance Analyzer Tools
  3.1071 +                        </li>
  3.1072                      </ul>
  3.1073                      <p>
  3.1074 -                    The Solaris X86 patch list is:
  3.1075 +                        The Solaris X86 patch list is:
  3.1076                      <ul>
  3.1077 -                    <li>
  3.1078 -                    119961-07: SunOS 5.10_x86, x64, Patch for profiling libraries and assembler
  3.1079 -                    </li>
  3.1080 -                    <li>
  3.1081 -                    119964-21: SunOS 5.10_x86: Shared library patch for C++_x86
  3.1082 -                    </li>
  3.1083 -                    <li>
  3.1084 -                    120754-08: SunOS 5.10_x86: Microtasking libraries (libmtsk) patch
  3.1085 -                    </li>
  3.1086 -                    <li>
  3.1087 -                    141858-06: Sun Studio 12 Update 1_x86: Sun Compiler Common patch for x86 backend
  3.1088 -                    </li>
  3.1089 -                    <li>
  3.1090 -                    128229-09: Sun Studio 12 Update 1_x86: Patch for C++ Compiler
  3.1091 -                    </li>
  3.1092 -                    <li>
  3.1093 -                    142363-05: Sun Studio 12 Update 1_x86: Patch for C Compiler
  3.1094 -                    </li>
  3.1095 -                    <li>
  3.1096 -                    142368-01: Sun Studio 12.1_x86: Patch for Performance Analyzer Tools
  3.1097 -                    </li>
  3.1098 +                        <li>
  3.1099 +                            119961-07: SunOS 5.10_x86, x64, Patch for profiling libraries and assembler
  3.1100 +                        </li>
  3.1101 +                        <li>
  3.1102 +                            119964-21: SunOS 5.10_x86: Shared library patch for C++_x86
  3.1103 +                        </li>
  3.1104 +                        <li>
  3.1105 +                            120754-08: SunOS 5.10_x86: Microtasking libraries (libmtsk) patch
  3.1106 +                        </li>
  3.1107 +                        <li>
  3.1108 +                            141858-06: Sun Studio 12 Update 1_x86: Sun Compiler Common patch for x86 backend
  3.1109 +                        </li>
  3.1110 +                        <li>
  3.1111 +                            128229-09: Sun Studio 12 Update 1_x86: Patch for C++ Compiler
  3.1112 +                        </li>
  3.1113 +                        <li>
  3.1114 +                            142363-05: Sun Studio 12 Update 1_x86: Patch for C Compiler
  3.1115 +                        </li>
  3.1116 +                        <li>
  3.1117 +                            142368-01: Sun Studio 12.1_x86: Patch for Performance Analyzer Tools
  3.1118 +                        </li>
  3.1119                      </ul>
  3.1120                      <p> 
  3.1121 -                    Set 
  3.1122 -                    <a href="#ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a>
  3.1123 -                    to point to the location of
  3.1124 -                    the compiler binaries, and place this location in the <tt>PATH</tt>.
  3.1125 +                        Set
  3.1126 +                        <a href="#ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a>
  3.1127 +                        to point to the location of
  3.1128 +                        the compiler binaries, and place this location in the <tt>PATH</tt>.
  3.1129                      <p>
  3.1130 -                    The Oracle Solaris Studio Express compilers at:
  3.1131 -                    <a href="http://developers.sun.com/sunstudio/downloads/express.jsp" target="_blank">
  3.1132 -                    Oracle Solaris Studio Express Download site</a>
  3.1133 -                    are also an option, although these compilers have not
  3.1134 -                    been extensively used yet.
  3.1135 +                        The Oracle Solaris Studio Express compilers at:
  3.1136 +                        <a href="http://developers.sun.com/sunstudio/downloads/express.jsp" target="_blank">
  3.1137 +                            Oracle Solaris Studio Express Download site</a>
  3.1138 +                        are also an option, although these compilers have not
  3.1139 +                        been extensively used yet.
  3.1140                  </blockquote>
  3.1141                  <strong><a name="msvc32">Windows i586: Microsoft Visual Studio 2010 Compilers</a></strong>
  3.1142                  <blockquote>
  3.1143 -<p>
  3.1144 -<b>BEGIN WARNING</b>: At this time (Spring/Summer 2010) JDK 7 is starting a transition to
  3.1145 -use the newest VS2010 Microsoft compilers. These build instructions are updated
  3.1146 -to show where we are going. We have a QA process to go through before
  3.1147 -official builds actually use VS2010. So for now, official builds are
  3.1148 -still using VS2003. No other compilers are known to build the entire JDK,
  3.1149 -including non-open portions.
  3.1150 -So for now you should be able to build with either VS2003 or VS2010.
  3.1151 -We do not guarantee that VS2008 will work, although there is sufficient
  3.1152 -makefile support to make at least basic JDK builds plausible.
  3.1153 -Visual Studio 2010 Express compilers are now able to build all the
  3.1154 -open source repositories, but this is 32 bit only. To build 64 bit
  3.1155 -Windows binaries use the the 7.1 Windows SDK.<b>END WARNING.</b>
  3.1156 -<p>
  3.1157 -                    The 32-bit OpenJDK Windows build
  3.1158 -                    requires 
  3.1159 -                    Microsoft Visual Studio C++ 2010 (VS2010) Professional
  3.1160 -                    Edition or Express compiler.
  3.1161 -                    The compiler and other tools are expected to reside
  3.1162 -                    in the location defined by the variable 
  3.1163 -                    <tt>VS100COMNTOOLS</tt> which
  3.1164 -                    is set by the Microsoft Visual Studio installer.
  3.1165 +                    <p>
  3.1166 +                        <b>BEGIN WARNING</b>: At this time (Spring/Summer 2010) JDK 7 is starting a transition to
  3.1167 +                        use the newest VS2010 Microsoft compilers. These build instructions are updated
  3.1168 +                        to show where we are going. We have a QA process to go through before
  3.1169 +                        official builds actually use VS2010. So for now, official builds are
  3.1170 +                        still using VS2003. No other compilers are known to build the entire JDK,
  3.1171 +                        including non-open portions.
  3.1172 +                        So for now you should be able to build with either VS2003 or VS2010.
  3.1173 +                        We do not guarantee that VS2008 will work, although there is sufficient
  3.1174 +                        makefile support to make at least basic JDK builds plausible.
  3.1175 +                        Visual Studio 2010 Express compilers are now able to build all the
  3.1176 +                        open source repositories, but this is 32 bit only. To build 64 bit
  3.1177 +                        Windows binaries use the the 7.1 Windows SDK.<b>END WARNING.</b>
  3.1178 +                    <p>
  3.1179 +                        The 32-bit OpenJDK Windows build
  3.1180 +                        requires
  3.1181 +                        Microsoft Visual Studio C++ 2010 (VS2010) Professional
  3.1182 +                        Edition or Express compiler.
  3.1183 +                        The compiler and other tools are expected to reside
  3.1184 +                        in the location defined by the variable
  3.1185 +                        <tt>VS100COMNTOOLS</tt> which
  3.1186 +                        is set by the Microsoft Visual Studio installer.
  3.1187                      <p> 
  3.1188 -                    Once the compiler is installed, 
  3.1189 -                    it is recommended that you run <tt>VCVARS32.BAT</tt> 
  3.1190 -                    to set the compiler environment variables
  3.1191 -                    <tt>INCLUDE</tt>,
  3.1192 -                    <tt>LIB</tt>, and
  3.1193 -                    <tt>PATH</tt> 
  3.1194 -                    prior to building the 
  3.1195 -                    OpenJDK.
  3.1196 -                    The above environment variables <b>MUST</b> be set.
  3.1197 -                    This compiler also contains the Windows SDK v 7.0a,
  3.1198 -                    which is an update to the Windows 7 SDK.
  3.1199 +                        Once the compiler is installed,
  3.1200 +                        it is recommended that you run <tt>VCVARS32.BAT</tt>
  3.1201 +                        to set the compiler environment variables
  3.1202 +                        <tt>INCLUDE</tt>,
  3.1203 +                        <tt>LIB</tt>, and
  3.1204 +                        <tt>PATH</tt>
  3.1205 +                        prior to building the
  3.1206 +                        OpenJDK.
  3.1207 +                        The above environment variables <b>MUST</b> be set.
  3.1208 +                        This compiler also contains the Windows SDK v 7.0a,
  3.1209 +                        which is an update to the Windows 7 SDK.
  3.1210                      <p>
  3.1211 -                    <b>WARNING:</b> Make sure you check out the
  3.1212 -                    <a href="#cygwin">CYGWIN link.exe WARNING</a>.
  3.1213 -                    The path <tt>/usr/bin</tt> must be after the path to the
  3.1214 -                    Visual Studio product.
  3.1215 +                        <b>WARNING:</b> Make sure you check out the
  3.1216 +                        <a href="#cygwin">CYGWIN link.exe WARNING</a>.
  3.1217 +                        The path <tt>/usr/bin</tt> must be after the path to the
  3.1218 +                        Visual Studio product.
  3.1219                  </blockquote>
  3.1220                  <strong><a name="msvc64">Windows x64: Microsoft Visual Studio 2010 Professional Compiler</a></strong>
  3.1221                  <blockquote>
  3.1222 @@ -1069,22 +1097,22 @@
  3.1223                      you have VS2010 Professional.
  3.1224                  </blockquote>
  3.1225                  <strong><a name="mssdk64">Windows x64: Microsoft Windows 7.1 SDK 64 bit compilers.</a></strong>
  3.1226 -                   For a free alternative for 64 bit builds, use the 7.1 SDK.
  3.1227 -                   Microsoft say that to set up your paths for this run
  3.1228 -<pre>
  3.1229 +                For a free alternative for 64 bit builds, use the 7.1 SDK.
  3.1230 +                Microsoft say that to set up your paths for this run
  3.1231 +                <pre>
  3.1232      c:\Program Files\Microsoft SDKs\Windows\v7.1\bin\setenv.cmd /x64.
  3.1233 -</pre>
  3.1234 -                   What was tested is just directly setting up LIB, INCLUDE,
  3.1235 -                   PATH and based on the installation directories using the
  3.1236 -                   DOS short name appropriate for the system, (you will
  3.1237 -                   need to set them for yours, not just blindly copy this) eg :
  3.1238 -<pre>
  3.1239 +                </pre>
  3.1240 +                What was tested is just directly setting up LIB, INCLUDE,
  3.1241 +                PATH and based on the installation directories using the
  3.1242 +                DOS short name appropriate for the system, (you will
  3.1243 +                need to set them for yours, not just blindly copy this) eg :
  3.1244 +                <pre>
  3.1245      set VSINSTALLDIR=c:\PROGRA~2\MICROS~1.0
  3.1246      set WindowsSdkDir=c:\PROGRA~1\MICROS~1\Windows\v7.1
  3.1247      set PATH=%VSINSTALLDIR%\vc\bin\amd64;%VSINSTALLDIR%\Common7\IDE;%WindowsSdkDir%\bin;%PATH%
  3.1248      set INCLUDE=%VSINSTALLDIR%\vc\include;%WindowsSdkDir%\include
  3.1249      set LIB=%VSINSTALLDIR%\vc\lib\amd64;%WindowsSdkDir%\lib\x64
  3.1250 -</pre>
  3.1251 +                </pre>
  3.1252              </blockquote>
  3.1253              <!-- ------------------------------------------------------ --> 
  3.1254              <h4><a name="zip">Zip and Unzip</a></h4>
  3.1255 @@ -1110,41 +1138,41 @@
  3.1256                  Companion CD/DVD, these often will be installed into 
  3.1257                  <tt>/opt/sfw/cups</tt>.
  3.1258                  <p>
  3.1259 -                <strong>Linux:</strong>
  3.1260 -                CUPS header files are required for building the 
  3.1261 -                OpenJDK on Linux.
  3.1262 -                The Linux header files are usually available from a "cups"
  3.1263 -                development package, it's recommended that you try and use
  3.1264 -                the package provided by the particular version of Linux that
  3.1265 -                you are using.
  3.1266 +                    <strong>Linux:</strong>
  3.1267 +                    CUPS header files are required for building the
  3.1268 +                    OpenJDK on Linux.
  3.1269 +                    The Linux header files are usually available from a "cups"
  3.1270 +                    development package, it's recommended that you try and use
  3.1271 +                    the package provided by the particular version of Linux that
  3.1272 +                    you are using.
  3.1273                  <p>
  3.1274 -                The CUPS header files can always be downloaded from 
  3.1275 -                <a href="http://www.cups.org" target="_blank">www.cups.org</a>.
  3.1276 -                The variable 
  3.1277 -                <tt><a href="#ALT_CUPS_HEADERS_PATH">ALT_CUPS_HEADERS_PATH</a></tt>
  3.1278 -                can be used to override the default location of the
  3.1279 -                CUPS Header files.
  3.1280 +                    The CUPS header files can always be downloaded from
  3.1281 +                    <a href="http://www.cups.org" target="_blank">www.cups.org</a>.
  3.1282 +                    The variable
  3.1283 +                    <tt><a href="#ALT_CUPS_HEADERS_PATH">ALT_CUPS_HEADERS_PATH</a></tt>
  3.1284 +                    can be used to override the default location of the
  3.1285 +                    CUPS Header files.
  3.1286              </blockquote>
  3.1287              <!-- ------------------------------------------------------ -->
  3.1288              <h4><a name="xrender">XRender Extension Headers (Solaris &amp; Linux)</a></h4>
  3.1289              <blockquote>
  3.1290                  <p>
  3.1291 -                <strong>Solaris:</strong>
  3.1292 -                XRender header files are required for building the 
  3.1293 -                OpenJDK on Solaris.
  3.1294 -                The XRender header file is included with the other X11 header files
  3.1295 -                in the package <strong>SFWxwinc</strong> on new enough versions of
  3.1296 -                Solaris and will be installed in
  3.1297 -	        <tt>/usr/X11/include/X11/extensions/Xrender.h</tt>
  3.1298 +                    <strong>Solaris:</strong>
  3.1299 +                    XRender header files are required for building the
  3.1300 +                    OpenJDK on Solaris.
  3.1301 +                    The XRender header file is included with the other X11 header files
  3.1302 +                    in the package <strong>SFWxwinc</strong> on new enough versions of
  3.1303 +                    Solaris and will be installed in
  3.1304 +                    <tt>/usr/X11/include/X11/extensions/Xrender.h</tt>
  3.1305                  </p><p>
  3.1306 -                <strong>Linux:</strong>
  3.1307 -                XRender header files are required for building the 
  3.1308 -                OpenJDK on Linux.
  3.1309 -                The Linux header files are usually available from a "Xrender"
  3.1310 -                development package, it's recommended that you try and use
  3.1311 -                the package provided by the particular distribution of Linux that
  3.1312 -                you are using.
  3.1313 -	        </p>
  3.1314 +                    <strong>Linux:</strong>
  3.1315 +                    XRender header files are required for building the
  3.1316 +                    OpenJDK on Linux.
  3.1317 +                    The Linux header files are usually available from a "Xrender"
  3.1318 +                    development package, it's recommended that you try and use
  3.1319 +                    the package provided by the particular distribution of Linux that
  3.1320 +                    you are using.
  3.1321 +                </p>
  3.1322              </blockquote>
  3.1323              <!-- ------------------------------------------------------ -->
  3.1324              <h4><a name="freetype">FreeType 2</a></h4>
  3.1325 @@ -1155,31 +1183,31 @@
  3.1326                  Note that you need development version of package that 
  3.1327                  includes both FreeType library and header files.
  3.1328                  <p>
  3.1329 -                You can always download latest FreeType version from the
  3.1330 -                <a href="http://www.freetype.org" target="_blank">FreeType website</a>.
  3.1331 +                    You can always download latest FreeType version from the
  3.1332 +                    <a href="http://www.freetype.org" target="_blank">FreeType website</a>.
  3.1333                  <p>
  3.1334 -                Makefiles will try to pick FreeType from /usr/lib and /usr/include.
  3.1335 -                In case it is installed elsewhere you will need to set environment
  3.1336 -                variables 
  3.1337 -                <tt><a href="#ALT_FREETYPE_LIB_PATH">ALT_FREETYPE_LIB_PATH</a></tt>
  3.1338 -                and 
  3.1339 -                <tt><a href="#ALT_FREETYPE_HEADERS_PATH">ALT_FREETYPE_HEADERS_PATH</a></tt>
  3.1340 -                to refer to place where library and header files are installed.
  3.1341 +                    Makefiles will try to pick FreeType from /usr/lib and /usr/include.
  3.1342 +                    In case it is installed elsewhere you will need to set environment
  3.1343 +                    variables
  3.1344 +                    <tt><a href="#ALT_FREETYPE_LIB_PATH">ALT_FREETYPE_LIB_PATH</a></tt>
  3.1345 +                    and
  3.1346 +                    <tt><a href="#ALT_FREETYPE_HEADERS_PATH">ALT_FREETYPE_HEADERS_PATH</a></tt>
  3.1347 +                    to refer to place where library and header files are installed.
  3.1348                  <p>
  3.1349 -                Building the freetype 2 libraries from scratch is also possible,
  3.1350 -                however on Windows refer to the
  3.1351 -                <a href="http://freetype.freedesktop.org/wiki/FreeType_DLL">
  3.1352 -                Windows FreeType DLL build instructions</a>.
  3.1353 +                    Building the freetype 2 libraries from scratch is also possible,
  3.1354 +                    however on Windows refer to the
  3.1355 +                    <a href="http://freetype.freedesktop.org/wiki/FreeType_DLL">
  3.1356 +                        Windows FreeType DLL build instructions</a>.
  3.1357                  <p>
  3.1358 -                Note that by default FreeType is built with byte code hinting
  3.1359 -                support disabled due to licensing restrictions.
  3.1360 -                In this case, text appearance and metrics are expected to
  3.1361 -                differ from Sun's official JDK build.
  3.1362 -                See
  3.1363 -                <a href="http://freetype.sourceforge.net/freetype2/index.html">
  3.1364 -                    the SourceForge FreeType2 Home Page
  3.1365 -                </a>
  3.1366 -                for more information.
  3.1367 +                    Note that by default FreeType is built with byte code hinting
  3.1368 +                    support disabled due to licensing restrictions.
  3.1369 +                    In this case, text appearance and metrics are expected to
  3.1370 +                    differ from Sun's official JDK build.
  3.1371 +                    See
  3.1372 +                    <a href="http://freetype.sourceforge.net/freetype2/index.html">
  3.1373 +                        the SourceForge FreeType2 Home Page
  3.1374 +                    </a>
  3.1375 +                    for more information.
  3.1376              </blockquote>    
  3.1377              <!-- ------------------------------------------------------ -->
  3.1378              <h4><a name="alsa">Advanced Linux Sound Architecture (ALSA) (Linux only)</a></h4>
  3.1379 @@ -1195,25 +1223,25 @@
  3.1380                  The makefiles will check this emit a sanity error if it is
  3.1381                  missing or the wrong version.
  3.1382                  <p>
  3.1383 -                In particular, older Linux systems will likely not have the
  3.1384 -                right version of ALSA installed, for example
  3.1385 -                Redhat AS 2.1 U2 and SuSE 8.1 do not include a sufficiently 
  3.1386 -                recent ALSA distribution.
  3.1387 -                On rpm-based systems, you can see if ALSA is installed by 
  3.1388 -                running this command:
  3.1389 +                    In particular, older Linux systems will likely not have the
  3.1390 +                    right version of ALSA installed, for example
  3.1391 +                    Redhat AS 2.1 U2 and SuSE 8.1 do not include a sufficiently
  3.1392 +                    recent ALSA distribution.
  3.1393 +                    On rpm-based systems, you can see if ALSA is installed by
  3.1394 +                    running this command:
  3.1395                  <pre>
  3.1396                      <tt>rpm -qa | grep alsa</tt>
  3.1397                  </pre>
  3.1398                  Both <tt>alsa</tt> and <tt>alsa-devel</tt> packages are needed.
  3.1399                  <p> 
  3.1400 -                If your distribution does not come with ALSA, and you can't
  3.1401 -                find ALSA packages built for your particular system,
  3.1402 -                you can try to install the pre-built ALSA rpm packages from
  3.1403 -                <a href="http://www.freshrpms.net/" target="_blank">
  3.1404 -                <tt>www.freshrpms.net</tt></a>. 
  3.1405 -                Note that installing a newer ALSA could
  3.1406 -                break sound output if an older version of ALSA was previously
  3.1407 -                installed on the system, but it will enable JDK compilation.
  3.1408 +                    If your distribution does not come with ALSA, and you can't
  3.1409 +                    find ALSA packages built for your particular system,
  3.1410 +                    you can try to install the pre-built ALSA rpm packages from
  3.1411 +                    <a href="http://www.freshrpms.net/" target="_blank">
  3.1412 +                        <tt>www.freshrpms.net</tt></a>.
  3.1413 +                    Note that installing a newer ALSA could
  3.1414 +                    break sound output if an older version of ALSA was previously
  3.1415 +                    installed on the system, but it will enable JDK compilation.
  3.1416                  <blockquote>
  3.1417                      Installation: execute as root<br>
  3.1418                      [i586]: <code>rpm -Uv --force alsa-lib-devel-0.9.1-rh61.i386.rpm</code><br>
  3.1419 @@ -1228,7 +1256,7 @@
  3.1420                  </blockquote>
  3.1421                  As a last resort you can go to the
  3.1422                  <a href="http://www.alsa-project.org" target="_blank">
  3.1423 -                Advanced Linux Sound Architecture Site</a> and build it from
  3.1424 +                    Advanced Linux Sound Architecture Site</a> and build it from
  3.1425                  source.
  3.1426                  <blockquote>
  3.1427                      Download driver and library
  3.1428 @@ -1256,9 +1284,9 @@
  3.1429                  building the JDK platform. To actually use ALSA sound drivers, more
  3.1430                  steps are necessary as outlined in the documentation on ALSA's homepage.
  3.1431                  <p>
  3.1432 -                ALSA can be uninstalled by executing <tt>make uninstall</tt> first in
  3.1433 -                the <tt>alsa-lib-0.9.1</tt> directory and then in 
  3.1434 -                <tt>alsa-driver-0.9.1</tt>.
  3.1435 +                    ALSA can be uninstalled by executing <tt>make uninstall</tt> first in
  3.1436 +                    the <tt>alsa-lib-0.9.1</tt> directory and then in
  3.1437 +                    <tt>alsa-driver-0.9.1</tt>.
  3.1438              </blockquote>
  3.1439              There are no ALT* variables to change the assumed locations of ALSA,
  3.1440              the makefiles will expect to find the ALSA include files and library at:
  3.1441 @@ -1273,15 +1301,15 @@
  3.1442                  on Windows which can be supplied by 
  3.1443                  <a href="http://www.cygwin.com" target="_blank">CYGWIN</a>. 
  3.1444                  <p>
  3.1445 -                The OpenJDK build requires CYGWIN version 1.5.12 or newer. 
  3.1446 -                Information about CYGWIN can
  3.1447 -                be obtained from the CYGWIN website at 
  3.1448 -                <a href="http://www.cygwin.com" target="_blank">www.cygwin.com</a>. 
  3.1449 +                    The OpenJDK build requires CYGWIN version 1.5.12 or newer.
  3.1450 +                    Information about CYGWIN can
  3.1451 +                    be obtained from the CYGWIN website at
  3.1452 +                    <a href="http://www.cygwin.com" target="_blank">www.cygwin.com</a>.
  3.1453                  <p>
  3.1454 -                By default CYGWIN doesn't install all the tools required for building
  3.1455 -                the OpenJDK.
  3.1456 -                Along with the default installation, you need to install
  3.1457 -                the following tools.
  3.1458 +                    By default CYGWIN doesn't install all the tools required for building
  3.1459 +                    the OpenJDK.
  3.1460 +                    Along with the default installation, you need to install
  3.1461 +                    the following tools.
  3.1462                  <blockquote>
  3.1463                      <table border="1">
  3.1464                          <thead>
  3.1465 @@ -1298,21 +1326,21 @@
  3.1466                                  <td>Devel</td>
  3.1467                                  <td>binutils</td>
  3.1468                                  <td>The GNU assembler, linker and binary
  3.1469 -                                utilities</td>
  3.1470 +                                    utilities</td>
  3.1471                              </tr>
  3.1472                              <tr>
  3.1473                                  <td>make.exe</td>
  3.1474                                  <td>Devel</td>
  3.1475                                  <td>make</td>
  3.1476                                  <td>The GNU version of the 'make' utility built for CYGWIN.<br>
  3.1477 -                                <b>NOTE</b>: See <a href="#gmake">the GNU make section</a></td>
  3.1478 +                                    <b>NOTE</b>: See <a href="#gmake">the GNU make section</a></td>
  3.1479                              </tr>
  3.1480                              <tr>
  3.1481                                  <td>m4.exe</td>
  3.1482                                  <td>Interpreters</td>
  3.1483                                  <td>m4</td>
  3.1484                                  <td>GNU implementation of the traditional Unix macro
  3.1485 -                                processor</td>
  3.1486 +                                    processor</td>
  3.1487                              </tr>
  3.1488                              <tr>
  3.1489                                  <td>cpio.exe</td>
  3.1490 @@ -1354,21 +1382,21 @@
  3.1491                      </table>
  3.1492                  </blockquote>
  3.1493                  <p>
  3.1494 -                Note that the CYGWIN software can conflict with other non-CYGWIN
  3.1495 -                software on your Windows system.
  3.1496 -                CYGWIN provides a
  3.1497 -                <a href="http://cygwin.com/faq/faq.using.html" target="_blank">FAQ</a> for
  3.1498 -                known issues and problems, of particular interest is the
  3.1499 -                section on
  3.1500 -                <a href="http://cygwin.com/faq/faq.using.html#faq.using.bloda" target="_blank">
  3.1501 -                BLODA (applications that interfere with CYGWIN)</a>.
  3.1502 +                    Note that the CYGWIN software can conflict with other non-CYGWIN
  3.1503 +                    software on your Windows system.
  3.1504 +                    CYGWIN provides a
  3.1505 +                    <a href="http://cygwin.com/faq/faq.using.html" target="_blank">FAQ</a> for
  3.1506 +                    known issues and problems, of particular interest is the
  3.1507 +                    section on
  3.1508 +                    <a href="http://cygwin.com/faq/faq.using.html#faq.using.bloda" target="_blank">
  3.1509 +                        BLODA (applications that interfere with CYGWIN)</a>.
  3.1510                  <p>
  3.1511 -                <b>WARNING:</b>
  3.1512 -                Be very careful with <b><tt>link.exe</tt></b>, it will conflict
  3.1513 -                with the Visual Studio version. You need the Visual Studio
  3.1514 -                version of <tt>link.exe</tt>, not the CYGWIN one.
  3.1515 -                So it's important that the Visual Studio paths in PATH preceed
  3.1516 -                the CYGWIN path <tt>/usr/bin</tt>.
  3.1517 +                    <b>WARNING:</b>
  3.1518 +                    Be very careful with <b><tt>link.exe</tt></b>, it will conflict
  3.1519 +                    with the Visual Studio version. You need the Visual Studio
  3.1520 +                    version of <tt>link.exe</tt>, not the CYGWIN one.
  3.1521 +                    So it's important that the Visual Studio paths in PATH preceed
  3.1522 +                    the CYGWIN path <tt>/usr/bin</tt>.
  3.1523              </blockquote>
  3.1524              <strong><a name="dxsdk">Microsoft DirectX 9.0 SDK header files and libraries</a></strong>
  3.1525              <blockquote>
  3.1526 @@ -1377,7 +1405,7 @@
  3.1527                  OpenJDK.
  3.1528                  This SDK can be downloaded from 
  3.1529                  <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=FD044A42-9912-42A3-9A9E-D857199F888E&amp;displaylang=en" target="_blank">
  3.1530 -                Microsoft DirectX 9.0 SDK (Summer 2004)</a>.
  3.1531 +                    Microsoft DirectX 9.0 SDK (Summer 2004)</a>.
  3.1532                  If the link above becomes obsolete, the SDK can be found from 
  3.1533                  <a href="http://download.microsoft.com" target="_blank">the Microsoft Download Site</a>
  3.1534                  (search with "DirectX 9.0 SDK Update Summer 2004"). 
  3.1535 @@ -1431,14 +1459,14 @@
  3.1536                  </li>
  3.1537              </ol>
  3.1538              <p>
  3.1539 -            <strong>Solaris:</strong>
  3.1540 -            Note that ARCH_DATA_MODEL is really only needed on Solaris to
  3.1541 -            indicate you want to built the 64-bit version.
  3.1542 -            And before the Solaris 64-bit binaries can be used, they
  3.1543 -            must be merged with the binaries from a separate 32-bit build. 
  3.1544 -            The merged binaries may then be used in either 32-bit or 64-bit mode, with
  3.1545 -            the selection occurring at runtime 
  3.1546 -            with the <tt>-d32</tt> or <tt>-d64</tt> options. 
  3.1547 +                <strong>Solaris:</strong>
  3.1548 +                Note that ARCH_DATA_MODEL is really only needed on Solaris to
  3.1549 +                indicate you want to built the 64-bit version.
  3.1550 +                And before the Solaris 64-bit binaries can be used, they
  3.1551 +                must be merged with the binaries from a separate 32-bit build.
  3.1552 +                The merged binaries may then be used in either 32-bit or 64-bit mode, with
  3.1553 +                the selection occurring at runtime
  3.1554 +                with the <tt>-d32</tt> or <tt>-d64</tt> options.
  3.1555          </blockquote>
  3.1556          <!-- ------------------------------------------------------ -->
  3.1557          <hr>
  3.1558 @@ -1450,37 +1478,39 @@
  3.1559              The default output directory is
  3.1560              <tt>build/<i>platform</i></tt>,
  3.1561              where <tt><i>platform</i></tt> is one of
  3.1562 -            <tt><ul>
  3.1563 -                    <li>solaris-sparc</li>
  3.1564 -                    <li>solaris-sparcv9</li>
  3.1565 -                    <li>solaris-i586</li>
  3.1566 -                    <li>solaris-amd64</li>
  3.1567 -                    <li>linux-i586</li>
  3.1568 -                    <li>linux-amd64</li>
  3.1569 -                    <li>windows-i586</li>
  3.1570 -                    <li>windows-amd64</li>
  3.1571 -            </ul></tt>
  3.1572 +            <blockquote>
  3.1573 +                <ul>
  3.1574 +                    <li><tt>solaris-sparc</tt></li>
  3.1575 +                    <li><tt>solaris-sparcv9</tt></li>
  3.1576 +                    <li><tt>solaris-i586</tt></li>
  3.1577 +                    <li><tt>solaris-amd64</tt></li>
  3.1578 +                    <li><tt>linux-i586</tt></li>
  3.1579 +                    <li><tt>linux-amd64</tt></li>
  3.1580 +                    <li><tt>windows-i586</tt></li>
  3.1581 +                    <li><tt>windows-amd64</tt></li>
  3.1582 +                </ul>
  3.1583 +            </blockquote>
  3.1584              In particular, the 
  3.1585              <tt>build/<i>platform</i>/j2sdk-image/bin</tt>
  3.1586              directory should contain executables for the 
  3.1587              OpenJDK tools and utilities.
  3.1588              <p>
  3.1589 -            You can test that the build completed properly by using the build
  3.1590 -            to run the various demos that you will find in the 
  3.1591 -            <tt>build/<i>platform</i>/j2sdk-image/demo</tt>
  3.1592 -            directory.
  3.1593 +                You can test that the build completed properly by using the build
  3.1594 +                to run the various demos that you will find in the
  3.1595 +                <tt>build/<i>platform</i>/j2sdk-image/demo</tt>
  3.1596 +                directory.
  3.1597              <p>
  3.1598 -            The provided regression tests can be run with the <tt>jtreg</tt>
  3.1599 -            utility from 
  3.1600 -            <a href="http://openjdk.java.net/jtreg/" target="_blank">the jtreg site</a>.
  3.1601 +                The provided regression tests can be run with the <tt>jtreg</tt>
  3.1602 +                utility from
  3.1603 +                <a href="http://openjdk.java.net/jtreg/" target="_blank">the jtreg site</a>.
  3.1604          </blockquote>
  3.1605          <!-- ------------------------------------------------------ -->
  3.1606          <hr>
  3.1607          <h2><a name="variables">Environment/Make Variables</a></h2>
  3.1608          <p>
  3.1609 -        Some of the
  3.1610 -        environment or make variables (just called <b>variables</b> in this
  3.1611 -        document) that can impact the build are:
  3.1612 +            Some of the
  3.1613 +            environment or make variables (just called <b>variables</b> in this
  3.1614 +            document) that can impact the build are:
  3.1615          <blockquote>
  3.1616              <dl>
  3.1617                  <dt><a name="path"><tt>PATH</tt></a> </dt>
  3.1618 @@ -1488,11 +1518,11 @@
  3.1619                      <ul>
  3.1620                          <li>The location of the GNU make binary</li>
  3.1621                          <li>The location of the Bootstrap JDK <tt>java</tt> 
  3.1622 -                        (see <a href="#bootjdk">Bootstrap JDK</a>)</li>
  3.1623 +                            (see <a href="#bootjdk">Bootstrap JDK</a>)</li>
  3.1624                          <li>The location of the C/C++ compilers 
  3.1625 -                        (see <a href="#compilers"><tt>compilers</tt></a>)</li>
  3.1626 +                            (see <a href="#compilers"><tt>compilers</tt></a>)</li>
  3.1627                          <li>The location or locations for the Unix command utilities
  3.1628 -                        (e.g. <tt>/usr/bin</tt>)</li>
  3.1629 +                            (e.g. <tt>/usr/bin</tt>)</li>
  3.1630                      </ul>
  3.1631                  </dd>
  3.1632                  <dt><tt>MILESTONE</tt> </dt>
  3.1633 @@ -1523,14 +1553,6 @@
  3.1634                      You should always install your own local Bootstrap JDK and
  3.1635                      always set <tt>ALT_BOOTDIR</tt> explicitly.
  3.1636                  </dd>
  3.1637 -                <dt><a name="ALT_BINARY_PLUGS_PATH"><tt>ALT_BINARY_PLUGS_PATH</tt></a></dt>
  3.1638 -                <dd>
  3.1639 -                    The location of the binary plugs installation.
  3.1640 -                    See <a href="#binaryplugs">Binary Plugs</a> for more information.
  3.1641 -                    You should always have a local copy of a
  3.1642 -                    recent Binary Plugs install image
  3.1643 -                    and set this variable to that location.
  3.1644 -                </dd>
  3.1645                  <dt><a name="ALT_JDK_IMPORT_PATH"><tt>ALT_JDK_IMPORT_PATH</tt></a></dt>
  3.1646                  <dd>
  3.1647                      The location of a previously built JDK installation. 
  3.1648 @@ -1627,36 +1649,19 @@
  3.1649                      Where each of these directories contain the import JDK image
  3.1650                      for that platform.
  3.1651                  </dd>
  3.1652 -                <dt><a name="ALT_BUILD_BINARY_PLUGS_PATH"><tt>ALT_BUILD_BINARY_PLUGS_PATH</tt></a></dt>
  3.1653 -                <dd>
  3.1654 -                    These are useful in managing builds on multiple platforms.
  3.1655 -                    The default network location for all of the binary plug images
  3.1656 -                    for all platforms. 
  3.1657 -                    If <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>
  3.1658 -                    is not set, this directory will be used and should contain 
  3.1659 -                    the following directories:
  3.1660 -                    <tt>solaris-sparc</tt>,
  3.1661 -                    <tt>solaris-i586</tt>,
  3.1662 -                    <tt>solaris-sparcv9</tt>,
  3.1663 -                    <tt>solaris-amd64</tt>,
  3.1664 -                    <tt>linux-i586</tt>,
  3.1665 -                    <tt>linux-amd64</tt>,
  3.1666 -                    <tt>windows-i586</tt>,
  3.1667 -                    and
  3.1668 -                    <tt>windows-amd64</tt>.
  3.1669 -                    Where each of these directories contain the binary plugs image
  3.1670 -                    for that platform.
  3.1671 -                </dd>
  3.1672                  <dt><strong>Windows specific:</strong></dt>
  3.1673                  <dd>
  3.1674                      <dl>
  3.1675 -                        <dt><a name="ALT_MSDEVTOOLS_PATH"><tt>ALT_MSDEVTOOLS_PATH</tt></a> </dt>
  3.1676 +                        <dt><a name="ALT_WINDOWSSDKDIR"><tt>ALT_WINDOWSSDKDIR</tt></a> </dt>
  3.1677                          <dd>
  3.1678                              The location of the 
  3.1679 -                            Microsoft Visual Studio
  3.1680 -                            tools 'bin' directory.
  3.1681 -                            The default is usually derived from
  3.1682 -                            <a href="#ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a>.
  3.1683 +                            Microsoft Windows SDK where some tools will be
  3.1684 +			    located.
  3.1685 +			    The default is whatever WINDOWSSDKDIR is set to
  3.1686 +			    (or WindowsSdkDir) or the path
  3.1687 +			    <pre>
  3.1688 +                            c:\Program Files\Microsoft SDKs\Windows\v6.1a
  3.1689 +			    </pre>
  3.1690                          </dd>
  3.1691                          <dt><tt><a name="ALT_DXSDK_PATH">ALT_DXSDK_PATH</a></tt> </dt>
  3.1692                          <dd>
  3.1693 @@ -1694,17 +1699,17 @@
  3.1694              Look for the check list of the platform you are building on in the
  3.1695              <a href="#contents">Table of Contents</a>.
  3.1696              <p>
  3.1697 -            You can validate your build environment by using the <tt>sanity</tt>
  3.1698 -            target.
  3.1699 -            Any errors listed
  3.1700 -            will stop the build from starting, and any warnings may result in
  3.1701 -            a flawed product build.
  3.1702 -            We strongly encourage you to evaluate every
  3.1703 -            sanity check warning and fix it if required, before you proceed
  3.1704 -            further with your build.
  3.1705 +                You can validate your build environment by using the <tt>sanity</tt>
  3.1706 +                target.
  3.1707 +                Any errors listed
  3.1708 +                will stop the build from starting, and any warnings may result in
  3.1709 +                a flawed product build.
  3.1710 +                We strongly encourage you to evaluate every
  3.1711 +                sanity check warning and fix it if required, before you proceed
  3.1712 +                further with your build.
  3.1713              <p>
  3.1714 -            Some of the more common problems with builds are briefly described
  3.1715 -            below, with suggestions for remedies.
  3.1716 +                Some of the more common problems with builds are briefly described
  3.1717 +                below, with suggestions for remedies.
  3.1718              <ul>
  3.1719                  <li>
  3.1720                      <b>Slow Builds:</b>
  3.1721 @@ -1715,15 +1720,15 @@
  3.1722                          machine, setting it to more than the the number of CPUs is probably
  3.1723                          not a good idea).
  3.1724                          <p>
  3.1725 -                        Creating the javadocs can be very slow, if you are running
  3.1726 -                        javadoc, consider skipping that step.
  3.1727 +                            Creating the javadocs can be very slow, if you are running
  3.1728 +                            javadoc, consider skipping that step.
  3.1729                          <p>
  3.1730 -                        Faster hardware and more RAM always helps too.
  3.1731 -                        The VM build tends to be CPU intensive (many C++ compiles),
  3.1732 -                        and the rest of the JDK will often be disk intensive.
  3.1733 +                            Faster hardware and more RAM always helps too.
  3.1734 +                            The VM build tends to be CPU intensive (many C++ compiles),
  3.1735 +                            and the rest of the JDK will often be disk intensive.
  3.1736                          <p>
  3.1737 -                        Faster compiles are possible using a tool called
  3.1738 -                        <a href="http://ccache.samba.org/" target="_blank">ccache</a>.
  3.1739 +                            Faster compiles are possible using a tool called
  3.1740 +                            <a href="http://ccache.samba.org/" target="_blank">ccache</a>.
  3.1741                      </blockquote>
  3.1742                  </li>
  3.1743                  <li>
  3.1744 @@ -1732,10 +1737,10 @@
  3.1745                          If you see warnings that refer to file time stamps, e.g.
  3.1746                          <blockquote>
  3.1747                              <i>Warning message:</i><tt> File `xxx' has modification time in
  3.1748 -                            the future.</tt>
  3.1749 +                                the future.</tt>
  3.1750                              <br>
  3.1751                              <i>Warning message:</i> <tt> Clock skew detected. Your build may
  3.1752 -                            be incomplete.</tt> 
  3.1753 +                                be incomplete.</tt>
  3.1754                          </blockquote>
  3.1755                          These warnings can occur when the clock on the build machine is out of
  3.1756                          sync with the timestamps on the source files. Other errors, apparently
  3.1757 @@ -1747,9 +1752,9 @@
  3.1758                          when the pre-1.4 compiler ran across the new <tt>assert</tt> keyword
  3.1759                          in the 1.4 source code.
  3.1760                          <p>
  3.1761 -                        If you see these warnings, reset the clock on the build
  3.1762 -                        machine, run "<tt><i>gmake</i> clobber</tt>" or delete the directory
  3.1763 -                        containing the build output, and restart the build from the beginning.
  3.1764 +                            If you see these warnings, reset the clock on the build
  3.1765 +                            machine, run "<tt><i>gmake</i> clobber</tt>" or delete the directory
  3.1766 +                            containing the build output, and restart the build from the beginning.
  3.1767                      </blockquote>
  3.1768                  </li>
  3.1769                  <li>
  3.1770 @@ -1776,32 +1781,28 @@
  3.1771                      <blockquote>
  3.1772                          This is probably an issue with SELinux (See
  3.1773                          <a href="http://en.wikipedia.org/wiki/SELinux" target="_blank">
  3.1774 -                        http://en.wikipedia.org/wiki/SELinux</a>).
  3.1775 +                            http://en.wikipedia.org/wiki/SELinux</a>).
  3.1776                          Parts of the VM is built without the <tt>-fPIC</tt> for
  3.1777                          performance reasons.
  3.1778                          <p>
  3.1779 -                        To completely disable SELinux:
  3.1780 -                        <tt>
  3.1781 -                            <ol>
  3.1782 -                                <li>$ su root</li>
  3.1783 -                                <li># system-config-securitylevel</li>
  3.1784 -                                <li>In the window that appears, select the SELinux tab</li>
  3.1785 -                                <li>Disable SELinux</li>
  3.1786 -                            </ol>
  3.1787 -                        </tt>
  3.1788 +                            To completely disable SELinux:
  3.1789 +                        <ol>
  3.1790 +                            <li><tt>$ su root</tt></li>
  3.1791 +                            <li><tt># system-config-securitylevel</tt></li>
  3.1792 +                            <li><tt>In the window that appears, select the SELinux tab</tt></li>
  3.1793 +                            <li><tt>Disable SELinux</tt></li>
  3.1794 +                        </ol>
  3.1795                          <p>
  3.1796 -                        Alternatively, instead of completely disabling it you could
  3.1797 -                        disable just this one check.
  3.1798 -                        <tt>
  3.1799 -                            <ol>
  3.1800 -                                <li>Select System->Administration->SELinux Management</li>
  3.1801 -                                <li>In the SELinux Management Tool which appears, 
  3.1802 +                            Alternatively, instead of completely disabling it you could
  3.1803 +                            disable just this one check.
  3.1804 +                        <ol>
  3.1805 +                            <li>Select System->Administration->SELinux Management</li>
  3.1806 +                            <li>In the SELinux Management Tool which appears,
  3.1807                                  select "Boolean" from the menu on the left</li>
  3.1808 -                                <li>Expand the "Memory Protection" group</li>
  3.1809 -                                <li>Check the first item, labeled
  3.1810 +                            <li>Expand the "Memory Protection" group</li>
  3.1811 +                            <li>Check the first item, labeled
  3.1812                                  "Allow all unconfined executables to use libraries requiring text relocation ..."</li>
  3.1813 -                            </ol>
  3.1814 -                        </tt>
  3.1815 +                        </ol>
  3.1816                      </blockquote>
  3.1817                  </li>
  3.1818                  <li>
  3.1819 @@ -1810,7 +1811,7 @@
  3.1820                          The CYGWIN software can conflict with other non-CYGWIN
  3.1821                          software. See the CYGWIN FAQ section on
  3.1822                          <a href="http://cygwin.com/faq/faq.using.html#faq.using.bloda" target="_blank">
  3.1823 -                        BLODA (applications that interfere with CYGWIN)</a>.
  3.1824 +                            BLODA (applications that interfere with CYGWIN)</a>.
  3.1825                      </blockquote>
  3.1826                  </li>
  3.1827                  <li>
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/get_source.sh	Fri Dec 24 11:16:02 2010 -0800
     4.3 @@ -0,0 +1,33 @@
     4.4 +#!/bin/sh
     4.5 +
     4.6 +#
     4.7 +# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
     4.8 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4.9 +#
    4.10 +# This code is free software; you can redistribute it and/or modify it
    4.11 +# under the terms of the GNU General Public License version 2 only, as
    4.12 +# published by the Free Software Foundation.  Oracle designates this
    4.13 +# particular file as subject to the "Classpath" exception as provided
    4.14 +# by Oracle in the LICENSE file that accompanied this code.
    4.15 +#
    4.16 +# This code is distributed in the hope that it will be useful, but WITHOUT
    4.17 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    4.18 +# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    4.19 +# version 2 for more details (a copy is included in the LICENSE file that
    4.20 +# accompanied this code).
    4.21 +#
    4.22 +# You should have received a copy of the GNU General Public License version
    4.23 +# 2 along with this work; if not, write to the Free Software Foundation,
    4.24 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    4.25 +#
    4.26 +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    4.27 +# or visit www.oracle.com if you need additional information or have any
    4.28 +# questions.
    4.29 +#
    4.30 +
    4.31 +# Get clones of all nested repositories
    4.32 +sh ./make/scripts/hgforest.sh clone
    4.33 +
    4.34 +# Update all existing repositories to the latest sources
    4.35 +sh ./make/scripts/hgforest.sh pull -u
    4.36 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/make/scripts/hgforest.sh	Fri Dec 24 11:16:02 2010 -0800
     5.3 @@ -0,0 +1,104 @@
     5.4 +#!/bin/sh
     5.5 +
     5.6 +#
     5.7 +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
     5.8 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5.9 +#
    5.10 +# This code is free software; you can redistribute it and/or modify it
    5.11 +# under the terms of the GNU General Public License version 2 only, as
    5.12 +# published by the Free Software Foundation.
    5.13 +#
    5.14 +# This code is distributed in the hope that it will be useful, but WITHOUT
    5.15 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    5.16 +# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    5.17 +# version 2 for more details (a copy is included in the LICENSE file that
    5.18 +# accompanied this code).
    5.19 +#
    5.20 +# You should have received a copy of the GNU General Public License version
    5.21 +# 2 along with this work; if not, write to the Free Software Foundation,
    5.22 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    5.23 +#
    5.24 +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    5.25 +# or visit www.oracle.com if you need additional information or have any
    5.26 +# questions.
    5.27 +#
    5.28 +
    5.29 +# Shell script for a fast parallel forest command
    5.30 +
    5.31 +tmp=/tmp/forest.$$
    5.32 +rm -f -r ${tmp}
    5.33 +mkdir -p ${tmp}
    5.34 +
    5.35 +# Remove tmp area on A. B. Normal termination
    5.36 +trap 'rm -f -r ${tmp}' KILL
    5.37 +trap 'rm -f -r ${tmp}' EXIT
    5.38 +
    5.39 +# Only look in specific locations for possible forests (avoids long searches)
    5.40 +pull_default=""
    5.41 +if [ "$1" = "clone" -o "$1" = "fclone" ] ; then
    5.42 +  subrepos="corba jaxp jaxws langtools jdk hotspot"
    5.43 +  if [ -f .hg/hgrc ] ; then
    5.44 +    pull_default=`hg paths default`
    5.45 +  fi
    5.46 +  if [ "${pull_default}" = "" ] ; then
    5.47 +    echo "ERROR: Need initial clone with 'hg paths default' defined"
    5.48 +    exit 1
    5.49 +  fi
    5.50 +  repos=""
    5.51 +  for i in ${subrepos} ; do
    5.52 +    if [ ! -f ${i}/.hg/hgrc ] ; then
    5.53 +      repos="${repos} ${i}"
    5.54 +    fi
    5.55 +  done
    5.56 +  at_a_time=2
    5.57 +else
    5.58 +  hgdirs=`ls -d ./.hg ./*/.hg ./*/*/.hg ./*/*/*/.hg ./*/*/*/*/.hg 2>/dev/null`
    5.59 +  # Derive repository names from the .hg directory locations
    5.60 +  repos=""
    5.61 +  for i in ${hgdirs} ; do
    5.62 +    repos="${repos} `echo ${i} | sed -e 's@/.hg$@@'`"
    5.63 +  done
    5.64 +  at_a_time=8
    5.65 +fi
    5.66 +
    5.67 +# Any repos to deal with?
    5.68 +if [ "${repos}" = "" ] ; then
    5.69 +  echo "No repositories to process."
    5.70 +  exit
    5.71 +fi
    5.72 +
    5.73 +# Echo out what repositories we will process
    5.74 +echo "# Repos: ${repos}"
    5.75 +
    5.76 +# Run the supplied command on all repos in parallel, save output until end
    5.77 +n=0
    5.78 +for i in ${repos} ; do
    5.79 +  echo "Starting on ${i}"
    5.80 +  n=`expr ${n} '+' 1`
    5.81 +  (
    5.82 +    (
    5.83 +      if [ "$1" = "clone" -o "$1" = "fclone" ] ; then
    5.84 +        cline="hg $* ${pull_default}/${i} ${i}"
    5.85 +        echo "# ${cline}"
    5.86 +        ( eval "${cline}" )
    5.87 +      else
    5.88 +        cline="hg $*"
    5.89 +        echo "# cd ${i} && ${cline}"
    5.90 +        ( cd ${i} && eval "${cline}" )
    5.91 +      fi
    5.92 +      echo "# exit code $?"
    5.93 +    ) > ${tmp}/repo.${n} 2>&1 ; cat ${tmp}/repo.${n} ) &
    5.94 +  if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then
    5.95 +    sleep 5
    5.96 +  fi
    5.97 +done
    5.98 +
    5.99 +# Wait for all hg commands to complete
   5.100 +wait
   5.101 +
   5.102 +# Cleanup
   5.103 +rm -f -r ${tmp}
   5.104 +
   5.105 +# Terminate with exit 0 all the time (hard to know when to say "failed")
   5.106 +exit 0
   5.107 +

mercurial