mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 23:39:27 -05:00
Merge pull request #9531
def79dd
readme: fix win64 cross-compile requirements (tobtoht)
This commit is contained in:
commit
5d465e22bf
@ -560,9 +560,12 @@ 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-linux-gnu``` for 64-bit linux binaries.
|
||||||
* ```make depends target=x86_64-w64-mingw32``` for 64-bit windows binaries.
|
* ```make depends target=x86_64-w64-mingw32``` for 64-bit windows binaries.
|
||||||
* Requires: `python3 g++-mingw-w64-x86-64 wine1.6 bc`
|
* Requires: `g++-mingw-w64-x86-64`
|
||||||
* You also need to run:
|
* 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```
|
```shell
|
||||||
|
update-alternatives --set x86_64-w64-mingw32-g++ $(which x86_64-w64-mingw32-g++-posix) && \
|
||||||
|
update-alternatives --set x86_64-w64-mingw32-gcc $(which x86_64-w64-mingw32-gcc-posix)
|
||||||
|
```
|
||||||
* ```make depends target=x86_64-apple-darwin``` for macOS binaries.
|
* ```make depends target=x86_64-apple-darwin``` for macOS binaries.
|
||||||
* Requires: `cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev`
|
* 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.
|
* ```make depends target=i686-linux-gnu``` for 32-bit linux binaries.
|
||||||
|
Loading…
Reference in New Issue
Block a user