diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-01-23 15:59:41 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-02-02 19:29:01 +0200 |
commit | 9796dcacdc3841ab6e3359bd5ca67a5f634bf176 (patch) | |
tree | d78bc90a0c23edfdc6ce805b648c5a60996fd0cb /doc | |
parent | 0bbae237a8e0122b97c5c71bc85bc845e26d5b47 (diff) |
doc: Install only "-posix" MinGW compiler when possible
Diffstat (limited to 'doc')
-rw-r--r-- | doc/build-windows.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/build-windows.md b/doc/build-windows.md index 657865795c..e35d3bcbd0 100644 --- a/doc/build-windows.md +++ b/doc/build-windows.md @@ -48,8 +48,17 @@ Acquire the source in the usual way: ## Building for 64-bit Windows 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: |