User Tools

Site Tools


cc64mingw

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
cc64mingw [2022/04/22 17:19] rjversluiscc64mingw [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:it.png|Versione italiana}}]][[:english#objects|{{  :objects.png}}]][[:english|{{  :rocrail-logo-35.png}}]] 
-[[:develop-corner-en|Developer corner]]  
- 
- \\ 
-=====Tested platforms===== 
-  * Ubuntu 14.04 + 
-  * Raspbian 9 + 
-====Needed Packages==== 
- - mingw-w64 
-<code> 
-sudo apt-get install mingw-w64 
-</code> 
- 
- \\ 
-=====wxWidgets===== 
-====Get sources==== 
-<code> 
-git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git 
-cd wxWidgets 
-mkdir winbuild 
-</code> 
- 
-====Check out a stable build==== 
-Tags can be found here: 
-  * https://github.com/wxWidgets/wxWidgets/tags 
-<code> 
-cd wxWidgets 
-git checkout v3.1.6 
-</code> 
- 
- 
-====Update sources==== 
-<code> 
-cd wxWidgets 
-git checkout master 
-git pull 
-git submodule update 
-git checkout v3.1.6 
-</code> 
- 
-====Build the 64bit library==== 
-<code> 
-cd winbuild 
-../configure --prefix=/usr/x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-msw --enable-unicode --disable-shared --enable-graphics_ctx --enable-monolithic --enable-stc --enable-debug=no 
-make 
-sudo make install 
-</code> 
- 
- 
-====Build the 32bit library==== 
-<code> 
-cd win32build 
-../configure --prefix=/usr/i686-w64-mingw32 --host=i686-w64-mingw32 --target=i686-w64-mingw32 --with-msw --enable-unicode --disable-shared --enable-graphics_ctx LDFLAGS=-static --enable-monolithic --enable-stc --enable-debug=no 
-make 
-sudo make install 
-</code> 
- \\ 
-=====Rocrail===== 
-====Get sources==== 
-<code> 
-git clone <repository link> 
-cd Rocrail 
-</code> 
-====Update sources==== 
-<code> 
-cd Rocrail 
-git pull 
-</code> 
- 
-====Build the 64bit binaries==== 
-<code> 
-make all DEBUG= PLATFORM=WIN64 TOOLPREFIX=x86_64-w64-mingw32- LIBSUFFIX=-x86_64-w64-mingw32 MINGWINSTALL=/usr/x86_64-w64-mingw32 
-</code> 
- \\ 
-{{:develop:win64-platform.png?600}}\\ 
- \\ 
-{{:develop:win64.png?600}}\\ 
- \\ 
-====Build the 32bit binaries==== 
-<code> 
-make all PLATFORM=WIN32 TOOLPREFIX=i686-w64-mingw32- LIBSUFFIX=-i686-w64-mingw32 MINGWINSTALL=/usr/i686-w64-mingw32 
-</code>