8200867: Remove references to "jdk 9" in build system
Reviewed-by: redestad, tbell, erikj
This commit is contained in:
parent
ec4c0637f8
commit
5c1262520d
@ -158,7 +158,7 @@
|
|||||||
<h2 id="operating-system-requirements">Operating System Requirements</h2>
|
<h2 id="operating-system-requirements">Operating System Requirements</h2>
|
||||||
<p>The mainline OpenJDK project supports Linux, Solaris, macOS, AIX and Windows. Support for other operating system, e.g. BSD, exists in separate "port" projects.</p>
|
<p>The mainline OpenJDK project supports Linux, Solaris, macOS, AIX and Windows. Support for other operating system, e.g. BSD, exists in separate "port" projects.</p>
|
||||||
<p>In general, OpenJDK can be built on a wide range of versions of these operating systems, but the further you deviate from what is tested on a daily basis, the more likely you are to run into problems.</p>
|
<p>In general, OpenJDK can be built on a wide range of versions of these operating systems, but the further you deviate from what is tested on a daily basis, the more likely you are to run into problems.</p>
|
||||||
<p>This table lists the OS versions used by Oracle when building JDK 9. Such information is always subject to change, but this table is up to date at the time of writing.</p>
|
<p>This table lists the OS versions used by Oracle when building OpenJDK. Such information is always subject to change, but this table is up to date at the time of writing.</p>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="header">
|
<tr class="header">
|
||||||
@ -190,7 +190,7 @@
|
|||||||
<h3 id="windows">Windows</h3>
|
<h3 id="windows">Windows</h3>
|
||||||
<p>Windows XP is not a supported platform, but all newer Windows should be able to build OpenJDK.</p>
|
<p>Windows XP is not a supported platform, but all newer Windows should be able to build OpenJDK.</p>
|
||||||
<p>On Windows, it is important that you pay attention to the instructions in the <a href="#special-considerations">Special Considerations</a>.</p>
|
<p>On Windows, it is important that you pay attention to the instructions in the <a href="#special-considerations">Special Considerations</a>.</p>
|
||||||
<p>Windows is the only non-POSIX OS supported by OpenJDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. For OpenJDK 9, the only supported such layer is Cygwin. (Msys is no longer supported due to a too old bash; msys2 and the new Windows Subsystem for Linux (WSL) would likely be possible to support in a future version but that would require a community effort to implement.)</p>
|
<p>Windows is the only non-POSIX OS supported by OpenJDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. Currently, the only supported such layer is Cygwin. (Msys is no longer supported due to a too old bash; msys2 and the new Windows Subsystem for Linux (WSL) would likely be possible to support in a future version but that would require a community effort to implement.)</p>
|
||||||
<p>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/hg/jdk9/Makefile</code> rather than <code>C:\hg\jdk9\Makefile</code>. This rule also applies to input to the build system, e.g. in arguments to <code>configure</code>. So, use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than <code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
|
<p>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/hg/jdk9/Makefile</code> rather than <code>C:\hg\jdk9\Makefile</code>. This rule also applies to input to the build system, e.g. in arguments to <code>configure</code>. So, use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than <code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
|
||||||
<h4 id="cygwin">Cygwin</h4>
|
<h4 id="cygwin">Cygwin</h4>
|
||||||
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is thus required for building OpenJDK on Windows. If you have a 64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p>
|
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is thus required for building OpenJDK on Windows. If you have a 64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p>
|
||||||
@ -265,7 +265,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td style="text-align: left;">Linux</td>
|
<td style="text-align: left;">Linux</td>
|
||||||
<td style="text-align: left;">gcc 4.9.2</td>
|
<td style="text-align: left;">gcc 7.3.0</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td style="text-align: left;">macOS</td>
|
<td style="text-align: left;">macOS</td>
|
||||||
@ -282,8 +282,8 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<h3 id="gcc">gcc</h3>
|
<h3 id="gcc">gcc</h3>
|
||||||
<p>The minimum accepted version of gcc is 4.7. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
|
<p>The minimum accepted version of gcc is 4.8. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
|
||||||
<p>OpenJDK 9 includes patches that should allow gcc 6 to compile, but this should be considered experimental.</p>
|
<p>OpenJDK is currently known to be able to compile with at least version 7.4 of gcc.</p>
|
||||||
<p>In general, any version between these two should be usable.</p>
|
<p>In general, any version between these two should be usable.</p>
|
||||||
<h3 id="clang">clang</h3>
|
<h3 id="clang">clang</h3>
|
||||||
<p>The minimum accepted version of clang is 3.2. Older versions will not be accepted by <code>configure</code>.</p>
|
<p>The minimum accepted version of clang is 3.2. Older versions will not be accepted by <code>configure</code>.</p>
|
||||||
@ -788,7 +788,7 @@ sudo mv /tmp/configure /usr/local/bin</code></pre>
|
|||||||
<p>The default behavior for make is to create consistent and correct output, at the expense of build speed, if necessary.</p>
|
<p>The default behavior for make is to create consistent and correct output, at the expense of build speed, if necessary.</p>
|
||||||
<p>If you are prepared to take some risk of an incorrect build, and know enough of the system to understand how things build and interact, you can speed up the build process considerably by instructing make to only build a portion of the product.</p>
|
<p>If you are prepared to take some risk of an incorrect build, and know enough of the system to understand how things build and interact, you can speed up the build process considerably by instructing make to only build a portion of the product.</p>
|
||||||
<h4 id="building-individual-modules">Building Individual Modules</h4>
|
<h4 id="building-individual-modules">Building Individual Modules</h4>
|
||||||
<p>The safe way to use fine-grained make targets is to use the module specific make targets. All source code in JDK 9 is organized so it belongs to a module, e.g. <code>java.base</code> or <code>jdk.jdwp.agent</code>. You can build only a specific module, by giving it as make target: <code>make jdk.jdwp.agent</code>. If the specified module depends on other modules (e.g. <code>java.base</code>), those modules will be built first.</p>
|
<p>The safe way to use fine-grained make targets is to use the module specific make targets. All source code in OpenJDK is organized so it belongs to a module, e.g. <code>java.base</code> or <code>jdk.jdwp.agent</code>. You can build only a specific module, by giving it as make target: <code>make jdk.jdwp.agent</code>. If the specified module depends on other modules (e.g. <code>java.base</code>), those modules will be built first.</p>
|
||||||
<p>You can also specify a set of modules, just as you can always specify a set of make targets: <code>make jdk.crypto.cryptoki jdk.crypto.ec jdk.crypto.mscapi jdk.crypto.ucrypto</code></p>
|
<p>You can also specify a set of modules, just as you can always specify a set of make targets: <code>make jdk.crypto.cryptoki jdk.crypto.ec jdk.crypto.mscapi jdk.crypto.ucrypto</code></p>
|
||||||
<h4 id="building-individual-module-phases">Building Individual Module Phases</h4>
|
<h4 id="building-individual-module-phases">Building Individual Module Phases</h4>
|
||||||
<p>The build process for each module is divided into separate phases. Not all modules need all phases. Which are needed depends on what kind of source code and other artifact the module consists of. The phases are:</p>
|
<p>The build process for each module is divided into separate phases. Not all modules need all phases. Which are needed depends on what kind of source code and other artifact the module consists of. The phases are:</p>
|
||||||
|
@ -135,7 +135,7 @@ In general, OpenJDK can be built on a wide range of versions of these operating
|
|||||||
systems, but the further you deviate from what is tested on a daily basis, the
|
systems, but the further you deviate from what is tested on a daily basis, the
|
||||||
more likely you are to run into problems.
|
more likely you are to run into problems.
|
||||||
|
|
||||||
This table lists the OS versions used by Oracle when building JDK 9. Such
|
This table lists the OS versions used by Oracle when building OpenJDK. Such
|
||||||
information is always subject to change, but this table is up to date at the
|
information is always subject to change, but this table is up to date at the
|
||||||
time of writing.
|
time of writing.
|
||||||
|
|
||||||
@ -164,8 +164,8 @@ On Windows, it is important that you pay attention to the instructions in the
|
|||||||
[Special Considerations](#special-considerations).
|
[Special Considerations](#special-considerations).
|
||||||
|
|
||||||
Windows is the only non-POSIX OS supported by OpenJDK, and as such, requires
|
Windows is the only non-POSIX OS supported by OpenJDK, and as such, requires
|
||||||
some extra care. A POSIX support layer is required to build on Windows. For
|
some extra care. A POSIX support layer is required to build on Windows.
|
||||||
OpenJDK 9, the only supported such layer is Cygwin. (Msys is no longer
|
Currently, the only supported such layer is Cygwin. (Msys is no longer
|
||||||
supported due to a too old bash; msys2 and the new Windows Subsystem for Linux
|
supported due to a too old bash; msys2 and the new Windows Subsystem for Linux
|
||||||
(WSL) would likely be possible to support in a future version but that would
|
(WSL) would likely be possible to support in a future version but that would
|
||||||
require a community effort to implement.)
|
require a community effort to implement.)
|
||||||
@ -291,18 +291,18 @@ issues.
|
|||||||
|
|
||||||
Operating system Toolchain version
|
Operating system Toolchain version
|
||||||
------------------ -------------------------------------------------------
|
------------------ -------------------------------------------------------
|
||||||
Linux gcc 4.9.2
|
Linux gcc 7.3.0
|
||||||
macOS Apple Xcode 6.3 (using clang 6.1.0)
|
macOS Apple Xcode 6.3 (using clang 6.1.0)
|
||||||
Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13)
|
Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13)
|
||||||
Windows Microsoft Visual Studio 2013 update 4
|
Windows Microsoft Visual Studio 2013 update 4
|
||||||
|
|
||||||
### gcc
|
### gcc
|
||||||
|
|
||||||
The minimum accepted version of gcc is 4.7. Older versions will generate a warning
|
The minimum accepted version of gcc is 4.8. Older versions will generate a warning
|
||||||
by `configure` and are unlikely to work.
|
by `configure` and are unlikely to work.
|
||||||
|
|
||||||
OpenJDK 9 includes patches that should allow gcc 6 to compile, but this should
|
OpenJDK is currently known to be able to compile with at least version 7.4 of
|
||||||
be considered experimental.
|
gcc.
|
||||||
|
|
||||||
In general, any version between these two should be usable.
|
In general, any version between these two should be usable.
|
||||||
|
|
||||||
@ -1460,10 +1460,11 @@ product.
|
|||||||
#### Building Individual Modules
|
#### Building Individual Modules
|
||||||
|
|
||||||
The safe way to use fine-grained make targets is to use the module specific
|
The safe way to use fine-grained make targets is to use the module specific
|
||||||
make targets. All source code in JDK 9 is organized so it belongs to a module,
|
make targets. All source code in OpenJDK is organized so it belongs to a
|
||||||
e.g. `java.base` or `jdk.jdwp.agent`. You can build only a specific module, by
|
module, e.g. `java.base` or `jdk.jdwp.agent`. You can build only a specific
|
||||||
giving it as make target: `make jdk.jdwp.agent`. If the specified module
|
module, by giving it as make target: `make jdk.jdwp.agent`. If the specified
|
||||||
depends on other modules (e.g. `java.base`), those modules will be built first.
|
module depends on other modules (e.g. `java.base`), those modules will be built
|
||||||
|
first.
|
||||||
|
|
||||||
You can also specify a set of modules, just as you can always specify a set of
|
You can also specify a set of modules, just as you can always specify a set of
|
||||||
make targets: `make jdk.crypto.cryptoki jdk.crypto.ec jdk.crypto.mscapi
|
make targets: `make jdk.crypto.cryptoki jdk.crypto.ec jdk.crypto.mscapi
|
||||||
|
@ -31,7 +31,7 @@ SRC#
|
|||||||
|
|
||||||
|
|
||||||
AC_PREREQ([2.69])
|
AC_PREREQ([2.69])
|
||||||
AC_INIT(OpenJDK, jdk9, build-dev@openjdk.java.net,,http://openjdk.java.net)
|
AC_INIT(OpenJDK, openjdk, build-dev@openjdk.java.net,,http://openjdk.java.net)
|
||||||
|
|
||||||
AC_CONFIG_AUX_DIR([$TOPDIR/make/autoconf/build-aux])
|
AC_CONFIG_AUX_DIR([$TOPDIR/make/autoconf/build-aux])
|
||||||
m4_include([build-aux/pkg.m4])
|
m4_include([build-aux/pkg.m4])
|
||||||
|
Loading…
Reference in New Issue
Block a user