aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorerciccione <erciccione@protonmail.com>2022-09-23 15:10:50 +0200
committererciccione <erciccione@protonmail.com>2022-09-23 15:10:50 +0200
commit74ec9503db2f6d369c516ad69bbae1bbc9572799 (patch)
tree419e49a6cdbac295b62841e24666c19f623dec3b /README.md
parentMerge pull request #8556 (diff)
downloadmonero-74ec9503db2f6d369c516ad69bbae1bbc9572799.tar.xz
readme: fix instructions for win64 cross builds
Diffstat (limited to '')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index aed9ef09d..e12f6002a 100644
--- a/README.md
+++ b/README.md
@@ -562,6 +562,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.