Merge pull request #8590

74ec950 readme: fix instructions for win64 cross builds (erciccione)
This commit is contained in:
luigi1111 2022-10-28 00:52:07 -04:00
commit 709ef69b01
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -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-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: `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. * ```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` * 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.