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

Kyle Schwarz created ticket #903
15.06.2021

Unknown type errors in bcrypt.h

LH_Mouse committed [cb37f0]
14.06.2021

headers/locale: Make result of `localeconv()` accord to GCC's `-funsigned-char` option

LH_Mouse committed [cb37f0]
14.06.2021

headers/locale: Make result of `localeconv()` accord to GCC's `-funsigned-char` option

Martin Storsjö committed [f0710c]
14.06.2021

crt: Add double underscore prefix to internal symbols used for linking in init routines

Martin Storsjö committed [112d84]
14.06.2021

crt: Add double underscore prefix to internal symbols

Martin Storsjö committed [973b93]
14.06.2021

crt: Add double underscore prefix to the mingw_app_type symbol

Jonathan Yong modified ticket #902
13.06.2021

Serious compiler error: Incorrect comparison: <

Jonathan Yong posted a comment on ticket #902
13.06.2021

This is a signed overflow, the behavior is undefined. Use unsigned integers or a wider type.

Vitaliy posted a comment on ticket #902
13.06.2021

int main() { int l, d, temp; l = 1879048192; // 1_879_048_192 d = 268435456; // 268_435_456 printf("incorrect comparison: (l+d > l) = %d l+d = %d > l = %d is FALSE but not 1\n", (l+d > l), l+d, l ); printf("correct comparison: ((temp = l+d) > l) = %d\n", ((temp = l+d) > l) ); return 0; } result: incorrect comparison: (l+d > l) = 1 l+d = -2147483648 > l = 1879048192 is FALSE but not 1 correct comparison: ((temp = l+d) > l) = 0

Vitaliy created ticket #902
13.06.2021

Serious compiler error: Incorrect comparison: <