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

v8.0.0: 2020-09-18

Notable changes:

  • New Hyper-V headers and libraries by Biswapriyo Nath
  • Many headers updated from Wine by Jacek Caban.
  • ARM math improvements by Martin Storsjö
  • floating point fixes by Liu Hao
  • many *printf compatibility fixes by Liu Hao and Martin Storsjö
  • massive Windows App Store API updates by Steve Lhomme
  • winstorecompat library updates by Martin Storsjö
  • __USE_MINGW_ANSI_STDIO now automatically enabled in C99 and C11 mode when not using UCRT by Pali Rohár
  • wdm and ddk updates by Zebediah Figura
  • UCRT for Windows Store Apps (-lucrtapp) by Martin Storsjö
  • Audioclient and ActivateAudioInterfaceAsync API updates by Liu Hao
  • DirectX SDKs are now always installed
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

Sören Andersen posted a comment on discussion Open Discussion
01.03.2021

I've been struggling with building on Cygwin (That is, using the Cygwin shell, gcc + binutils). I've been having trouble with missing headers but by descending into subdirectories and makeing there, and I've successfully built the crt lib/w32api etc. But now so I have to build a native compiler using this? Also, binutils and gcc were not built and installed. This is a very complex project! I've been away from computing for several years and I am overwhelmed.

Max posted a comment on discussion Help
27.02.2021

How should i do it?

NightStrike posted a comment on discussion Help
26.02.2021

That's because that toolchain was not built with dwarf2. Use SEH instead. On Tue, Feb 23, 2021 at 5:49 AM Max tonedeaf@users.sourceforge.net wrote: I downloaded MinGW via HomeBrew and there is no libgcc_s_dw2.dll file in folder. I really need it and can you tell me what to do to get it MinGW is not full Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/mingw-w64/discussion/723798/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/...

Rus created ticket #884
26.02.2021

Can't link with MSVC compiled C++ dll despite latest gendef used

Max modified a comment on discussion Help
23.02.2021

I downloaded MinGW via HomeBrew and there is no libgcc_s_dw2.dll file in folder. I really need it and can you tell me what to do to get it. Also there is no make file.

Max posted a comment on discussion Help
23.02.2021

I downloaded MinGW via HomeBrew and there is no libgcc_s_dw2.dll file in folder. I really need it and can you tell me what to do to get it

Soma Ueda created ticket #883
23.02.2021

winpthread: possibly fail to lock rwlock in parallel with PTHREAD_RWLOCK_INITIALIZER

lazka posted a comment on ticket #870
19.02.2021

Fixed in https://sourceforge.net/p/mingw-w64/mingw-w64/ci/8a77639cdabe8370e225a4022e9391b9fc20bd12/

Jacek Caban committed [725310]
19.02.2021

headers: Import relogger.idl and windowscontracts.idl from Wine.

Jacek Caban committed [9281ce]
19.02.2021

widl: Updated to current Wine version.