@@ -16,11 +16,13 @@ Compiling with Windows Subsystem For Linux
1616
1717With Windows 10, Microsoft has released a new feature named the [ Windows
1818Subsystem 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
2020environment. 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
2527To 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
4347Cross-compilation
4448-------------------
@@ -64,7 +68,7 @@ To build executables for Windows 64-bit, install the following dependencies:
6468Then 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:
7983Then 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
98102way. This will install to ` c:\workspace\bitcoin ` , for example:
99103
100104 make install DESTDIR=/mnt/c/workspace/bitcoin
101-
0 commit comments