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

v9.0.0: 2021-05-22

Notable changes:

  • UCRT updates by Biswapriyo Nath
  • Wine updates by Jacek Caban
  • Various new and updated API headers by Biswapriyo Nath and Liu Hao
  • Various UCRT and MSVCRT fixes by Martin Storsjö
  • at_quick_exit implementation by Martin Storsjö
  • dism API by Biswapriyo Nath
  • idl fixes by Steve Lhomme
  • Winpthreads fixes by Liu Hao
  • gettimeofday precision increase by Christian Franke
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

Ozkan Sezer committed [672882]
24.06.2021

dinput.h: Rename wReserved to wReportId in DIDEVICEOBJECTINSTANCE.

Sergey Kolesnik created ticket #906
23.06.2021

MinGW-w64 does not export symbols from an executable

Martin Storsjö committed [38c9f0]
22.06.2021

headers: Use the right windows specific arm instruction for __debugbreak()

mere-human created ticket #905
21.06.2021

IMAGE_IMPORT_BY_NAME::Name has incorrect type

Ding Fei modified a comment on discussion Open Discussion
20.06.2021

With pthread enabled, the same building process for x86_64 works fine both on windows 7/10 64-bit. And the i686 executables built works on windows 10 64-bit but not on windows 7 64-bit for the same reason: missing dlls.

Ding Fei posted a comment on discussion Open Discussion
20.06.2021

With pthread enabled, the same building process for x86_64 works fine both on windows 7/10 64-bit.

Ding Fei modified a comment on discussion Open Discussion
20.06.2021

I'm building LLVM (11.0.0) with gcc-mingw-w64-i686 (8.3.0-6+21.3-deb10u1) on debian buster targeting windows 7 32 bit. The building is fine but failed when running any of the executables, missing the 'api-ms-win-core' dlls. I checked that on Windows 7 there're some of these dlls of different version. For example 'api-ms-win-core-com-l1-1-1.dll' is missing but there's 'api-ms-win-core-com-l1-1-0.dll'. I tried to find the corresponding version of dlls but there's still missing exported APIs so I totally...

Ding Fei posted a comment on discussion Open Discussion
20.06.2021

I'm building LLVM with gcc-mingw-w64-i686 (8.3.0-6+21.3-deb10u1) on debian buster targeting windows 7 32 bit. The building is fine but failed when running any of the executables, missing the 'api-ms-win-core' dlls. I checked that on Windows 7 there're some of these dlls of different version. For example 'api-ms-win-core-com-l1-1-1.dll' is missing but there's 'api-ms-win-core-com-l1-1-0.dll'. I tried to find the corresponding version of dlls but there's still missing exported APIs so I totally stuck...

LH_Mouse committed [d1ab95]
18.06.2021

crt: Add missing members in setjmp for x86_64.

Chris Spiegel created ticket #100
17.06.2021

Implement setenv() and unsetenv()