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

LH_Mouse modified a comment on discussion Help
27.03.2021

Try declaring the function like this: char recv () __asm__ ("recv@16"); If that doesn't work for you, try prepending an underscore: char recv () __asm__ ("_recv@16");

LH_Mouse posted a comment on discussion Help
27.03.2021

Try declaring the function like this: char recv () __asm__ ("recv@16");

Jacek Caban committed [45def5]
23.03.2021

headers: Updarte dxva2api.idl to current Wine version.

jeroen posted a comment on ticket #473
22.03.2021

This was fixed in mingw-w64 v6. The fix was also back-ported to v5 but this branch was never re-released: https://github.com/mingw-w64/mingw-w64/commit/3b43430a378c357fcf67564d0dfd34aa1db68b48 On Mon, Mar 22, 2021 at 12:12 AM Jay Satiro raysatiro@users.sourceforge.net wrote: I also had this problem using the packaged version in Ubuntu 16 LTS. mkgmtime is missing from libmsvcrt.a. I think it is fixed in later versions because I tried in Windows in msys2 using mingw-w64 i686 and it worked fine. ~~~...

Jay Satiro posted a comment on ticket #473
22.03.2021

I also had this problem using the packaged version in Ubuntu 16 LTS. mkgmtime is missing from libmsvcrt.a. I think it is fixed in later versions because I tried in Windows in msys2 using mingw-w64 i686 and it worked fine. owner@ubuntu1604-x64-vm:/usr/x86_64-w64-mingw32/lib$ grep mkgmtime * grep: ldscripts: Is a directory Binary file libcrtdll.a matches Binary file libmsvcr100.a matches Binary file libmsvcr110.a matches Binary file libmsvcr80.a matches Binary file libmsvcr90.a matches Binary file...

Jacek Caban committed [063fb9]
20.03.2021

widl: Update to current Wine version.

Jacek Caban committed [79951e]
20.03.2021

headers: Import more winrt headers from Wine.

LH_Mouse committed [e6626f]
19.03.2021

headers: Revert import of dinput.h in previous commit.

LH_Mouse committed [872a8b]
19.03.2021

headers: Add missing idl files in automake.

LH_Mouse committed [57108d]
19.03.2021

headers: Regenerate Makefile