doc: Install only "-posix" MinGW compiler when possible

pull/24131/head
Hennadii Stepanov 3 years ago
parent 0bbae237a8
commit 9796dcacdc
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -48,8 +48,17 @@ Acquire the source in the usual way:
## Building for 64-bit Windows ## Building for 64-bit Windows
The first step is to install the mingw-w64 cross-compilation tool chain: The first step is to install the mingw-w64 cross-compilation tool chain:
- on modern systems (Ubuntu 21.04 Hirsute Hippo or newer, Debian 11 Bullseye or newer):
sudo apt install g++-mingw-w64-x86-64 ```sh
sudo apt install g++-mingw-w64-x86-64-posix
```
- on older systems:
```sh
sudo apt install g++-mingw-w64-x86-64
```
Once the toolchain is installed the build steps are common: Once the toolchain is installed the build steps are common:

Loading…
Cancel
Save