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 7 has been released

v7.0.0: 2019-11-10

Notable changes:

  • _FORTIFY_SOURCE support thanks to Christian Franke.
  • Lots of math fixes from Martin Storsjö.
  • Many headers updated from Wine by Jacek Caban.
  • UCRT support by 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

Andrew G. modified a comment on ticket #154
08.04.2020

Did a bit more probing and identified exception: Heap Corruption Exception 0xC0000374 C:\PySimcpp>c:\python38_x64\python -q -X faulthandler import _pysimcpp Windows fatal exception: code 0xc0000374 Current thread 0x00000bd4 (most recent call first): File "<frozen importlib._bootstrap="">", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external="">", line 1101 in create_module File "<frozen importlib._bootstrap="">", line 556 in module_from_spec File "<frozen importlib._bootstrap="">",...

Andrew G. posted a comment on ticket #154
08.04.2020

Did a bit more probing and identified exception: Heap Corruption Exception 0xC0000374 C:\PySimcpp>c:\python38_x64\python -q -X faulthandler import _pysimcpp Windows fatal exception: code 0xc0000374 Current thread 0x00000bd4 (most recent call first): File "<frozen importlib._bootstrap="">", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external="">", line 1101 in create_module File "<frozen importlib._bootstrap="">", line 556 in module_from_spec File "<frozen importlib._bootstrap="">",...

Martin Storsjö committed [c1d15f]
07.04.2020

headers: Add a few more guids and enums to codecapi.h

Martin Storsjö committed [468d3c]
07.04.2020

headers: Include codecapi.h in uuids.h and define UUID_GEN if INITGUID is defined

Martin Storsjö committed [7e20be]
07.04.2020

headers: Use EXTERN_GUID and DEFINE_PROPERTYKEY instead of a custom macro in mftransform.idl

Martin Storsjö committed [a307fd]
07.04.2020

headers: Fix missing enum values in mfobjects.h

Martin Storsjö committed [0645e6]
07.04.2020

headers: Add a few more new guids to mftransform.idl

r0q posted a comment on ticket #831
07.04.2020

This seems to stem from the fact that the SDL2.dll was compiled with a different compiler. When I build all with the same, it works fine. Bug can be closed I guess.

r0q posted a comment on ticket #831
07.04.2020

It seems like the overlapping import table parts are caused by strip. But without strip the resulting executable also imports CryptAcquireContextA & CryptGenRandom from SDL2.dll, which fails. Best regards Dennis

r0q created ticket #831
07.04.2020

Overlapping import tables with executable built with mingw-w64-gcc 9.3