mingw-w64

GCC for Windows 64 & 32 bits

Mingw-w64

Mingw-w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it in 2007 in order to provide support for 64 bits and new APIs. It has since then gained widespread use and distribution.

The development and community are very active and welcoming with new contributors every month and simple installers.

Version 6 has been released

v6.0.0: 2018-09-17

Notable changes:

  • C++ __cxa_atexit thanks to Martin Storsjö and Liu Hao
  • Massive additions to support UCRT thanks to Martin Storsjö
  • Sync COM interface headers with Wine development thanks to Jacek Caban
  • WinRT additions thanks to Hugo Beauzée-Luyssen
  • ARM32 and ARM64 additions thanks to Martin Storsjö
  • CRT library api-ms-win-core additions thanks to Martin Storsjö
  • CRT library def file reorganization thanks to Martin Storsjö
And many other additions thanks to, but not limited to (in Alphabetical order)

You can also look at the full list of versions.

Headers, Libraries and Runtime

  • More than a million lines of headers are provided, not counting generated ones, and regularly expanded to track new Windows APIs.
  • Everything needed for linking and running your code on Windows.
  • Winpthreads, a pthreads library for C++11 threading support and simple integration with existing project.
  • Winstorecompat, a work-in-progress convenience library that eases conformance with the Windows Store.
  • Better-conforming and faster math support compared to Visual Studio's.

Tools

  • gendef: generate Visual Studio .def files from .dll files.
  • genidl: generate .idl files from .dll files.
  • widl: compile .idl files.

Friend projects

Mingw-w64 interacts a lot with other projects in order to help everyone move forward. Contributions have been going to and coming from these projects:

Most Recent Activity

NightStrike posted a comment on ticket #97
23.06.2019

SEH support is a GCC thing entirely. It has nothing to do with us. Also, SEH32 is completely different from SEH64, despite having the same name. Finally, nobody worked on it because until recently, Borland had a patent on the 32 bit version. On Sun, Jun 23, 2019, 6:52 AM Vladislav Toncharov kotauskas@users.sourceforge.net wrote: @tpaxatb https://sourceforge.net/u/tpaxatb/ I don't understand - I always thought that SEH support is only available in mingw-w64. So, SEH for x86_64 is implemented in GCC...

Vladislav Toncharov posted a comment on ticket #97
23.06.2019

@tpaxatb I don't understand - I always thought that SEH support is only available in mingw-w64. So, SEH for x86_64 is implemented in GCC and you can use it for Linux programs (or any for other OSes that have GCC cross compilers)? And how could a contribution there affect mingw-w64 - will the PR that implements SEH for i686 just be copied and pasted into mingw-w64?

LH_Mouse committed [ba74cf]
21.06.2019

Move MEMORY_PRIORITY_ defines outside a _WIN32_WINNT #if check to match Microsoft's definitions.

Jacek Caban committed [75d9c5]
20.06.2019

librpcrt4.a: Drop @0 suffix from varargs functions.

Doug Semler posted a comment on ticket #97
20.06.2019

This is a gcc thing, support would have to go there. See http://mingw-w64.org/doku.php/contribute#seh_for_32bits

Doug Semler modified ticket #83
20.06.2019

missing FLT_EPSILON and DBL_EPSILON in float.h

Doug Semler posted a comment on ticket #83
20.06.2019

Please note that the float.h that is installed with gcc actually has a #define FLT_EPSILON FLT_EPSILON. It's fine and compliant as the COMPILER is required to maintain standards compliance.

Vladislav Toncharov posted a comment on ticket #83
19.06.2019

But they are included in the standard. This makes mingw-w64 incompliant.

Vladislav Toncharov created ticket #97
19.06.2019

Add SEH for the i686 version

LH_Mouse committed [155bbd]
18.06.2019

include/sdkddkver: Replace tab with one space