cc64mingw
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
cc64mingw [2022/04/22 17:19] – rjversluis | cc64mingw [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Cross compile 64/32 bit binaries ====== | ||
- | [[develop-corner-it|{{ icons: | ||
- | [[: | ||
- | |||
- | \\ | ||
- | =====Tested platforms===== | ||
- | * Ubuntu 14.04 + | ||
- | * Raspbian 9 + | ||
- | ====Needed Packages==== | ||
- | - mingw-w64 | ||
- | < | ||
- | sudo apt-get install mingw-w64 | ||
- | </ | ||
- | |||
- | \\ | ||
- | =====wxWidgets===== | ||
- | ====Get sources==== | ||
- | < | ||
- | git clone --recurse-submodules https:// | ||
- | cd wxWidgets | ||
- | mkdir winbuild | ||
- | </ | ||
- | |||
- | ====Check out a stable build==== | ||
- | Tags can be found here: | ||
- | * https:// | ||
- | < | ||
- | cd wxWidgets | ||
- | git checkout v3.1.6 | ||
- | </ | ||
- | |||
- | |||
- | ====Update sources==== | ||
- | < | ||
- | cd wxWidgets | ||
- | git checkout master | ||
- | git pull | ||
- | git submodule update | ||
- | git checkout v3.1.6 | ||
- | </ | ||
- | |||
- | ====Build the 64bit library==== | ||
- | < | ||
- | cd winbuild | ||
- | ../ | ||
- | make | ||
- | sudo make install | ||
- | </ | ||
- | |||
- | |||
- | ====Build the 32bit library==== | ||
- | < | ||
- | cd win32build | ||
- | ../ | ||
- | make | ||
- | sudo make install | ||
- | </ | ||
- | \\ | ||
- | =====Rocrail===== | ||
- | ====Get sources==== | ||
- | < | ||
- | git clone < | ||
- | cd Rocrail | ||
- | </ | ||
- | ====Update sources==== | ||
- | < | ||
- | cd Rocrail | ||
- | git pull | ||
- | </ | ||
- | |||
- | ====Build the 64bit binaries==== | ||
- | < | ||
- | make all DEBUG= PLATFORM=WIN64 TOOLPREFIX=x86_64-w64-mingw32- LIBSUFFIX=-x86_64-w64-mingw32 MINGWINSTALL=/ | ||
- | </ | ||
- | \\ | ||
- | {{: | ||
- | \\ | ||
- | {{: | ||
- | \\ | ||
- | ====Build the 32bit binaries==== | ||
- | < | ||
- | make all PLATFORM=WIN32 TOOLPREFIX=i686-w64-mingw32- LIBSUFFIX=-i686-w64-mingw32 MINGWINSTALL=/ | ||
- | </ | ||