Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 1.48 KB

File metadata and controls

45 lines (24 loc) · 1.48 KB

Build Instructions

Dependencies

Required:

  • MinGW-w64 toolchain

    • win32 threads (as opposed to posix threads) is recommended to avoid dependency on libwinpthread-1.dll
  • CMake

Recommended:

Cross-compilation toolchain

I always build DrMinGW from Linux with MinGW cross-compilation toolchain. See here for details.

Native toolchain

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.