Skip to content

Commit caa2f10

Browse files
author
MarcoFalke
committed
Merge #9433: Update the Windows build notes
b705a04 Update the Windows build notes (Douglas Roark)
2 parents bebe369 + b705a04 commit caa2f10

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

doc/build-windows.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ Compiling with Windows Subsystem For Linux
1616

1717
With Windows 10, Microsoft has released a new feature named the [Windows
1818
Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about). This
19-
feature allows you to run a bash shell directly on Windows in an Ubuntu based
19+
feature allows you to run a bash shell directly on Windows in an Ubuntu-based
2020
environment. Within this environment you can cross compile for Windows without
21-
the need for a separate Linux VM or Server.
21+
the need for a separate Linux VM or server.
2222

23-
This feature is not supported in versions of Windows prior to Windows 10 or on Windows Server SKUs.
23+
This feature is not supported in versions of Windows prior to Windows 10 or on
24+
Windows Server SKUs. In addition, it is available [only for 64-bit versions of
25+
Windows](https://msdn.microsoft.com/en-us/commandline/wsl/install_guide).
2426

2527
To get the bash shell, you must first activate the feature in Windows.
2628

@@ -38,7 +40,9 @@ To get the bash shell, you must first activate the feature in Windows.
3840
* Accept the license
3941
* Create a new UNIX user account (this is a separate account from your Windows account)
4042

41-
After the bash shell is active, you can follow the instructions below for Windows 64-bit Cross-compilation.
43+
After the bash shell is active, you can follow the instructions below, starting
44+
with the "Cross-compilation" section. Compiling the 64-bit version is
45+
recommended but it is possible to compile the 32-bit version.
4246

4347
Cross-compilation
4448
-------------------
@@ -64,7 +68,7 @@ To build executables for Windows 64-bit, install the following dependencies:
6468
Then build using:
6569

6670
cd depends
67-
make HOST=x86_64-w64-mingw32 -j4
71+
make HOST=x86_64-w64-mingw32
6872
cd ..
6973
./autogen.sh # not required when building from tarball
7074
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
@@ -79,7 +83,7 @@ To build executables for Windows 32-bit, install the following dependencies:
7983
Then build using:
8084

8185
cd depends
82-
make HOST=i686-w64-mingw32 -j4
86+
make HOST=i686-w64-mingw32
8387
cd ..
8488
./autogen.sh # not required when building from tarball
8589
CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --prefix=/
@@ -98,4 +102,3 @@ as they appear in the release `.zip` archive. This can be done in the following
98102
way. This will install to `c:\workspace\bitcoin`, for example:
99103

100104
make install DESTDIR=/mnt/c/workspace/bitcoin
101-

0 commit comments

Comments
 (0)