[Docs] Update Windows build instructions for using WSL and Ubuntu 17.04
This commit is contained in:
parent
4f890ba6bc
commit
696ce46306
1 changed files with 12 additions and 4 deletions
|
@ -4,10 +4,11 @@ WINDOWS BUILD NOTES
|
||||||
Below are some notes on how to build Bitcoin Core for Windows.
|
Below are some notes on how to build Bitcoin Core for Windows.
|
||||||
|
|
||||||
Most developers use cross-compilation from Ubuntu to build executables for
|
Most developers use cross-compilation from Ubuntu to build executables for
|
||||||
Windows. This is also used to build the release binaries.
|
Windows. Cross-compilation is also used to build the release binaries.
|
||||||
|
|
||||||
Currently only building on Ubuntu Trusty 14.04 is supported.
|
Currently only building on Ubuntu Trusty 14.04 or Ubuntu Zesty 17.04 or later is supported.
|
||||||
Other versions are unsupported or known to be broken (e.g. Ubuntu Xenial 16.04).
|
Building on Ubuntu Xenial 16.04 is known to be broken, see extensive discussion in issue [8732](https://github.com/bitcoin/bitcoin/issues/8732).
|
||||||
|
While it may be possible to do so with work arounds, it's potentially dangerous and not recommended.
|
||||||
|
|
||||||
While there are potentially a number of ways to build on Windows (for example using msys / mingw-w64),
|
While there are potentially a number of ways to build on Windows (for example using msys / mingw-w64),
|
||||||
using the Windows Subsystem For Linux is the most straightforward. If you are building with
|
using the Windows Subsystem For Linux is the most straightforward. If you are building with
|
||||||
|
@ -64,6 +65,13 @@ build process.
|
||||||
|
|
||||||
See also: [dependencies.md](dependencies.md).
|
See also: [dependencies.md](dependencies.md).
|
||||||
|
|
||||||
|
If you're building on Ubuntu 17.04 or later, run these two commands, selecting the 'posix' variant for both,
|
||||||
|
to work around issues with mingw-w64. See issue [8732](https://github.com/bitcoin/bitcoin/issues/8732) for more information.
|
||||||
|
```
|
||||||
|
sudo update-alternatives --config x86_64-w64-mingw32-g++
|
||||||
|
sudo update-alternatives --config x86_64-w64-mingw32-gcc
|
||||||
|
```
|
||||||
|
|
||||||
## Building for 64-bit Windows
|
## Building for 64-bit Windows
|
||||||
|
|
||||||
To build executables for Windows 64-bit, install the following dependencies:
|
To build executables for Windows 64-bit, install the following dependencies:
|
||||||
|
|
Loading…
Reference in a new issue