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:39] – [Build the 64bit binaries] rjversluisdevelop:cc64mingw [2025/06/22 09:06] (current) rjversluis
Line 10: Line 10:
 ====Needed Packages==== ====Needed Packages====
   - mingw-w64   - mingw-w64
-Linux:+**Linux:**
 <code> <code>
-sudo apt-get install mingw-w64+sudo apt install mingw-w64
 </code> </code>
-macOS:+**macOS:**
 <code> <code>
 sudo port install mingw-w64 sudo port install mingw-w64
 </code> </code>
 +See: https://www.macports.org \\
  
  \\  \\
Line 25: 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 3.2+git checkout v3.3.0
 mkdir winbuild mkdir winbuild
 </code> </code>
  
- 
-====Update sources==== 
-<code> 
-cd wxWidgets 
-git checkout master 
-git pull 
-git submodule update 
-git checkout 3.2 
-</code> 
  
 ====Build the 64bit library==== ====Build the 64bit library====
-Linux:+**Linux:**
 <code> <code>
 cd winbuild 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+../configure --prefix=/usr/x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-msw --disable-shared --enable-graphics_ctx --enable-monolithic --enable-stc --enable-debug=no
 make make
 sudo make install sudo make install
 </code> </code>
-macOS:+**macOS:**
 <code> <code>
 cd winbuild 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 +../configure --prefix=/opt/local/x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-msw --disable-shared --enable-graphics_ctx --enable-monolithic --enable-stc --enable-debug=no 
-make+make -j8
 sudo make install sudo make install
 </code> </code>
Line 68: Line 59:
 <code> <code>
 cd win32build 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+../configure --prefix=/usr/i686-w64-mingw32 --host=i686-w64-mingw32 --target=i686-w64-mingw32 --with-msw --disable-shared --enable-graphics_ctx LDFLAGS=-static --enable-monolithic --enable-stc --enable-debug=no
 make make
 sudo make install sudo make install
Line 102: Line 93:
  
 ====Build the 64bit binaries==== ====Build the 64bit binaries====
-Linux:+**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 rocrail/package/zipper.sh WIN64 Windows
 </code> </code>
-macOS:+**macOS:**
 <code> <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 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
develop/cc64mingw.1746005954.txt.gz · Last modified: 2025/04/30 11:39 by rjversluis