You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/build-windows.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,11 @@ WINDOWS BUILD NOTES
4
4
Below are some notes on how to build Bitcoin Core for Windows.
5
5
6
6
Most developers use cross-compilation from Ubuntu to build executables for
7
-
Windows. This is also used to build the release binaries.
7
+
Windows. Cross-compilation is also used to build the release binaries.
8
8
9
-
Currently only building on Ubuntu Trusty 14.04 is supported.
10
-
Other versions are unsupported or known to be broken (e.g. Ubuntu Xenial 16.04).
9
+
Currently only building on Ubuntu Trusty 14.04 or Ubuntu Zesty 17.04 or later is supported.
10
+
Building on Ubuntu Xenial 16.04 is known to be broken, see extensive discussion in issue [8732](https://github.com/bitcoin/bitcoin/issues/8732).
11
+
While it may be possible to do so with work arounds, it's potentially dangerous and not recommended.
11
12
12
13
While there are potentially a number of ways to build on Windows (for example using msys / mingw-w64),
13
14
using the Windows Subsystem For Linux is the most straightforward. If you are building with
@@ -62,6 +63,14 @@ A host toolchain (`build-essential`) is necessary because some dependency
62
63
packages (such as `protobuf`) need to build host utilities that are used in the
63
64
build process.
64
65
66
+
67
+
If you're building on Ubuntu 17.04 or later, run these two commands, selecting the 'posix' variant for both,
68
+
to work around issues with mingw-w64. See issue [8732](https://github.com/bitcoin/bitcoin/issues/8732) for more information.
0 commit comments