User Tools

Site Tools


develop:cc64mingw

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
develop:cc64mingw [2025/04/30 11:10] – [Generate the Rocs Utilities] rjversluisdevelop:cc64mingw [2025/04/30 11:47] (current) rjversluis
Line 7: Line 7:
   * Debian   * Debian
   * PiOS   * PiOS
 +  * macOS Apple Silicon
 ====Needed Packages==== ====Needed Packages====
- - mingw-w64+  - mingw-w64 
 +**Linux:**
 <code> <code>
-sudo apt-get install mingw-w64+sudo apt install mingw-w64
 </code> </code>
 +**macOS:**
 +<code>
 +sudo port install mingw-w64
 +</code>
 +See: https://www.macports.org \\
  
  \\  \\
Line 19: Line 26:
 git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git
 cd wxWidgets cd wxWidgets
-mkdir winbuild 
 </code> </code>
  
-====Check out a stable build====+====Check out a stable tag====
 Tags can be found here: Tags can be found here:
   * https://github.com/wxWidgets/wxWidgets/tags   * https://github.com/wxWidgets/wxWidgets/tags
 <code> <code>
 cd wxWidgets cd wxWidgets
-git checkout v3.2.6+git checkout 3.2 
 +mkdir winbuild
 </code> </code>
  
Line 37: Line 44:
 git pull git pull
 git submodule update git submodule update
-git checkout v3.2.6+git checkout 3.2
 </code> </code>
  
 ====Build the 64bit library==== ====Build the 64bit library====
 +**Linux:**
 <code> <code>
 cd winbuild cd winbuild
Line 47: Line 55:
 sudo make install sudo make install
 </code> </code>
 +**macOS:**
 +<code>
 +cd winbuild
 +../configure --prefix=/opt/local/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 -j8
 +sudo make install
 +</code>
 +
  
  
Line 86: Line 102:
  
 ====Build the 64bit binaries==== ====Build the 64bit binaries====
 +**Linux:**
 <code> <code>
 make all DEBUG= PLATFORM=WIN64 TOOLPREFIX=x86_64-w64-mingw32- LIBSUFFIX=-x86_64-w64-mingw32 MINGWINSTALL=/usr/x86_64-w64-mingw32 WXCONFIG=/usr/x86_64-w64-mingw32/bin/wx-config make all DEBUG= PLATFORM=WIN64 TOOLPREFIX=x86_64-w64-mingw32- LIBSUFFIX=-x86_64-w64-mingw32 MINGWINSTALL=/usr/x86_64-w64-mingw32 WXCONFIG=/usr/x86_64-w64-mingw32/bin/wx-config
 +rocrail/package/zipper.sh WIN64 Windows
 </code> </code>
 +**macOS:**
 +<code>
 +make -j8 all DEBUG= PLATFORM=WIN64 TOOLPREFIX=x86_64-w64-mingw32- LIBSUFFIX=-x86_64-w64-mingw32 MINGWINSTALL=/opt/local/x86_64-w64-mingw32 WXCONFIG=/opt/local/x86_64-w64-mingw32/bin/wx-config MINGWPATH=opt/local
 +rocrail/package/zipper.sh WIN64 Windows
 +</code>
 +
  \\  \\
 {{:develop:win64-platform.png?600}}\\ {{:develop:win64-platform.png?600}}\\
develop/cc64mingw.1746004250.txt.gz · Last modified: 2025/04/30 11:10 by rjversluis