The official MinGW release
TDM-GCC
MSYS2
I've tried building wxWidgets 3.0.3, 3.1.0, and git master. For each version, I tried 4 configurations: shared multilib, shared monolithic, static multilib, and static monolithic. I only tried debug builds.
For 32bit compilers
Code: Select all
wx 3.0.3 | shared, multi | shared, mono | static, multi | static, mono |
----------+---------------+--------------+---------------+--------------+
TDM 4.9.2 | yes | yes | yes | yes |
TDM 5.1.0 | yes | yes | yes | yes |
Official | no | no | no | no |
Code: Select all
wx 3.1.0 | shared, multi | shared, mono | static, multi | static, mono |
----------+---------------+--------------+---------------+--------------+
TDM 4.9.2 | yes | yes | yes | yes |
TDM 5.1.0 | yes | yes | yes | yes |
Official | no | no | no | no |
Code: Select all
git master| shared, multi | shared, mono | static, multi | static, mono |
----------+---------------+--------------+---------------+--------------+
TDM 4.9.2 | yes | yes | yes | yes |
TDM 5.1.0 | yes | yes | yes | yes |
Official | yes | yes | yes | yes |
Code: Select all
wx 3.0.3 | shared, multi | shared, mono | static, multi | static, mono |
----------+---------------+--------------+---------------+--------------+
TDM 4.9.2 | yes | yes | yes | yes |
TDM 5.1.0 | yes | yes | yes | yes |
MSYS2 | yes | yes | yes | yes |
Code: Select all
wx 3.1.0 | shared, multi | shared, mono | static, multi | static, mono |
----------+---------------+--------------+---------------+--------------+
TDM 4.9.2 | yes | no | yes | yes |
TDM 5.1.0 | yes | no | yes | yes |
MSYS2 | yes | yes | yes | yes |
Code: Select all
git master| shared, multi | shared, mono | static, multi | static, mono |
----------+---------------+--------------+---------------+--------------+
TDM 4.9.2 | yes | no | yes | no |
TDM 5.1.0 | yes | no | yes | yes |
MSYS2 | yes | yes | yes | yes |
Code: Select all
shared, multi: mingw32-make -f makefile.gcc BUILD=debug SHARED=1
shared, mono: mingw32-make -f makefile.gcc BUILD=debug SHARED=1 MONOLITHIC=1
static, multi: mingw32-make -f makefile.gcc BUILD=debug
static, mono: mingw32-make -f makefile.gcc BUILD=debug MONOLITHIC=1
- I don't think its necessary to add CXXFLAGS="-std=gnu++11" to the build command with a recent release of wxWidgets and a recent version of the compiler.
- The most important thing when using a MinGW based compiler is to make sure only version is used at a time. The easiest way to do this is to 1) do not add the compiler to the global system path when it is installed, and 2) only use the MinGW command prompt included with the package to build wxWidgets.