@@ -16,11 +16,13 @@ Compiling with Windows Subsystem For Linux
16
16
17
17
With Windows 10, Microsoft has released a new feature named the [ Windows
18
18
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
20
20
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 .
22
22
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 ) .
24
26
25
27
To get the bash shell, you must first activate the feature in Windows.
26
28
@@ -38,7 +40,9 @@ To get the bash shell, you must first activate the feature in Windows.
38
40
* Accept the license
39
41
* Create a new UNIX user account (this is a separate account from your Windows account)
40
42
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.
42
46
43
47
Cross-compilation
44
48
-------------------
@@ -64,7 +68,7 @@ To build executables for Windows 64-bit, install the following dependencies:
64
68
Then build using:
65
69
66
70
cd depends
67
- make HOST=x86_64-w64-mingw32 -j4
71
+ make HOST=x86_64-w64-mingw32
68
72
cd ..
69
73
./autogen.sh # not required when building from tarball
70
74
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:
79
83
Then build using:
80
84
81
85
cd depends
82
- make HOST=i686-w64-mingw32 -j4
86
+ make HOST=i686-w64-mingw32
83
87
cd ..
84
88
./autogen.sh # not required when building from tarball
85
89
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
98
102
way. This will install to ` c:\workspace\bitcoin ` , for example:
99
103
100
104
make install DESTDIR=/mnt/c/workspace/bitcoin
101
-
0 commit comments