Skip to content

Commit 1de0448

Browse files
Update documentation for windows build
1 parent 0b11d13 commit 1de0448

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

www/WindowsDevelopmentEnvironment.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,35 @@ export LIB="$(cygpath -m "$MSVC")/lib;$(cygpath -m "$WSDK")/lib"
4242
### Prerequisites
4343
Starting pont: A clean Windows 10 64-bit Installation with all patches
4444

45-
1. Install Visual C++ Build Tools 2019 (https://visualstudio.microsoft.com/downloads/)
46-
* Install `Windows 10 SDK`, `MSVC v142 - VS 2019 C++-x64/x86-Buildtools`, `Windows Universal CRT SDK`
47-
2. Install AdoptOpenJDK 8.0.222.10 for the target architecture (https://adoptopenjdk.net/index.html)
45+
1. Install "Visual Studio Community 2019" or the "Build Tools for Visual Studio 2019"
46+
(https://visualstudio.microsoft.com/downloads/)
47+
* Windows 10 SDK
48+
* MSVC v142 - VS 2019 C++-x64/x86-Buildtools
49+
* MSVC v142 - VS 2019 C++-ARM64-Buildtools
50+
* Windows Universal CRT SDK
51+
2. Install AdoptOpenJDK 8 for the target architecture (https://adoptopenjdk.net/index.html)
4852
3. Install ant (https://ant.apache.org/bindownload.cgi).
4953
3. Install Cygwin 64 Bit (https://cygwin.com/install.html)
50-
- `make`, `automake`, `automake1.15`, `libtool`
51-
- `git`
52-
- `gcc-g++` (See table)
54+
* make
55+
* automake
56+
* automake1.15
57+
* libtool
58+
* git
59+
* gcc-g++ (See table)
60+
5361
| x86_64 | x86 | aarch64 |
5462
|----------|-------|-----------|
5563
| `gcc-g++`<br>`mingw64-x86_64-gcc-g++` <br>`mingw64-x86_64-gcc-core` | `gcc-g++`<br>`mingw64-i686-gcc-g++` <br>`mingw64-i686-gcc-core` | `gcc-g++` |
5664

5765
### Steps
5866

67+
_**Note**_: The paths below are samples and depend on the exact versions
68+
installed. For example for "Visual Studio Community 2019" `vcvarsall.bat` can
69+
be found here:
70+
`C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat`,
71+
while for "Build Tools for Visual Studio 2019" the file is found here:
72+
`C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat`.
73+
5974
1. Open `cmd` for the following actions
6075
2. Point `JAVA_HOME` to the root of the target JDK:
6176
#### JAVA_HOME `x86_64`
@@ -103,9 +118,9 @@ Starting pont: A clean Windows 10 64-bit Installation with all patches
103118
ant
104119
```
105120

106-
... or if cross-compiling, specify the target architecture, e.g:
121+
... or if cross-compiling, specify the target architecture and only build the native library, e.g:
107122
```cmd
108-
ant -Dos.prefix=win32-aarch64
123+
ant -Dos.prefix=win32-aarch64 native
109124
```
110125

111126
### Mingw Only

0 commit comments

Comments
 (0)