aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-10-28 00:52:07 -0400
committerluigi1111 <luigi1111w@gmail.com>2022-10-28 00:52:07 -0400
commit709ef69b010d511400a1477ec658035d415c6f3d (patch)
tree0ac7e29a05b5e20d4e5b15c4015ec6f284898cd6
parentMerge pull request #8580 (diff)
parentreadme: fix instructions for win64 cross builds (diff)
downloadmonero-709ef69b010d511400a1477ec658035d415c6f3d.tar.xz
Merge pull request #8590
74ec950 readme: fix instructions for win64 cross builds (erciccione)
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index b979d161c..0249c084a 100644
--- a/README.md
+++ b/README.md
@@ -564,6 +564,8 @@ You can also cross-compile static binaries on Linux for Windows and macOS with t
* ```make depends target=x86_64-linux-gnu``` for 64-bit linux binaries.
* ```make depends target=x86_64-w64-mingw32``` for 64-bit windows binaries.
* Requires: `python3 g++-mingw-w64-x86-64 wine1.6 bc`
+ * You also need to run:
+```update-alternatives --set x86_64-w64-mingw32-g++ x86_64-w64-mingw32-g++-posix && update-alternatives --set x86_64-w64-mingw32-gcc x86_64-w64-mingw32-gcc-posix```
* ```make depends target=x86_64-apple-darwin11``` for macOS binaries.
* Requires: `cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev`
* ```make depends target=i686-linux-gnu``` for 32-bit linux binaries.