Skip to content

Mingw w64 faq

Ruben Van Boxem edited this page May 20, 2015 · 1 revision

mingw-w64 FAQ

Originally by Carl Kleffner.

What is mingw-w64

Mingw-w64 is an alternative to the mingw.org project - see: http://sourceforge.net/apps/trac/mingw-w64/wiki/History

Why choose mingw-w64 over mingw.org

  • 32- AND 64-bit support
  • large file support
  • winpthread pthreads implementation, MIT licenced.
  • cross compiler toolchains available for Linux

Official mingw-w64 releases

Source releases of the mingw-64 repository - http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/

Official mingw-w64 GCC toolchains

Official builds are available from the mingw-builds project at http://mingw-w64.sourceforge.net/download.php#mingw-builds for example:

These are common combinations of exception and thread models. You can find other combinations as well. Exception handling affects C++ development. Don't ever link object code with different types of exception and/or thread handling!

Threads concerning the question 'where to find mingw-w64 builds':

How to build a mingw-w64 based GCC toolchain on Windows

"mingw-builds" is a set of scripts and patches for compiling the GCC toolchain under Windows with the help of msys2 POSIX environment - https://github.com/niXman/mingw-builds/tree/develop recent 'mingw-builds' GCC toolchains can be downloaded from the mingw-w64 sf.net (4)

what is MSYS2

MSYS2 is the successor of MSYS. MSYS2 is necessary as environment for the GCC build process on Windows. - http://sourceforge.net/p/msys2/wiki/MSYS2%20installation/

Where to get precompiled mingw-w64 compiled libraries

Recent mingw-w64 based tools and library packages together with sources and patches are available from archlinux as well as from the msys2 maintainers.

See also Mingw static toolchain.

Clone this wiki locally