diff options
author | George Adams <gdams@openjdk.org> | 2022-11-25 18:41:16 +0000 |
---|---|---|
committer | George Adams <gdams@openjdk.org> | 2022-11-25 18:41:16 +0000 |
commit | b5555c191537c27e6b7dcf7ac15c4dfe2967688e (patch) | |
tree | 1d51996883a63219d2c36d3bdb7bb20b238ce615 | |
parent | 178b400267b39ecf105ef2386d843db32ffdf2db (diff) | |
download | libcore-b5555c191537c27e6b7dcf7ac15c4dfe2967688e.tar.gz |
8280863: Update build README to reflect that MSYS2 is supportedjdk11u/jdk-11.0.18+5
Reviewed-by: clanger
Backport-of: 204e67a7adedc5ff8ed6dbe1da7aa1397c9beb38
-rw-r--r-- | doc/building.html | 2 | ||||
-rw-r--r-- | doc/building.md | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/doc/building.html b/doc/building.html index 64f487dc4f1..7d6f18cd65d 100644 --- a/doc/building.html +++ b/doc/building.html @@ -195,7 +195,7 @@ <h3 id="windows">Windows</h3> <p>Windows XP is not a supported platform, but all newer Windows should be able to build the JDK.</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 the JDK, 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 effort to implement.)</p> +<p>Windows is the only non-POSIX OS supported by the JDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. Currently, the only supported such layers are Cygwin and MSYS2. (MSYS is no longer supported due to an outdated bash; While OpenJDK can be built with MSYS2, support for it is still experimental, so build failures and unusual errors are not uncommon.)</p> <p>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/git/jdk/Makefile</code> rather than <code>C:\git\jdk\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> <p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is thus required for building the JDK on Windows. If you have a 64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p> diff --git a/doc/building.md b/doc/building.md index 0b51cecb9bf..55cd791c702 100644 --- a/doc/building.md +++ b/doc/building.md @@ -177,10 +177,9 @@ On Windows, it is important that you pay attention to the instructions in the Windows is the only non-POSIX OS supported by the JDK, 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 effort to implement.) +Currently, the only supported such layers are Cygwin and MSYS2. (MSYS is no longer +supported due to an outdated bash; While OpenJDK can be built with MSYS2, +support for it is still experimental, so build failures and unusual errors are not uncommon.) Internally in the build system, all paths are represented as Unix-style paths, e.g. `/cygdrive/c/git/jdk/Makefile` rather than `C:\git\jdk\Makefile`. This |