Required:
-
MinGW-w64 toolchain
- win32 threads (as opposed to posix threads) is recommended to avoid dependency on
libwinpthread-1.dll
- win32 threads (as opposed to posix threads) is recommended to avoid dependency on
Recommended:
-
Debugging Tools for Windows for the latest version of
dbghelp.dllandsymsrv.dllDLLs. -
Python 2.x for running some of the tests.
I always build DrMinGW from Linux with MinGW cross-compilation toolchain. See here for details.
It is also possible to build with a native MinGW toolchain, by doing:
set Path=C:\path\to\mingw\bin;%Path%
cmake -G "MinGW Makefiles" -H. -Bbuild
cmake --build build
These instructions have been tested with the following MinGW-w64 toolchains:
but in theory it should work with any flavour of MinGW-w64 native toolchain,
provided that it includes a native mingw32-make.exe.
Note that building with MSYS or Cygwin is not necessary nor supported.