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

v6.0.0: 2018-09-17

Notable changes:

  • C++ __cxa_atexit thanks to Martin Storsjö and Liu Hao
  • Massive additions to support UCRT thanks to Martin Storsjö
  • Sync COM interface headers with Wine development thanks to Jacek Caban
  • WinRT additions thanks to Hugo Beauzée-Luyssen
  • ARM32 and ARM64 additions thanks to Martin Storsjö
  • CRT library api-ms-win-core additions thanks to Martin Storsjö
  • CRT library def file reorganization thanks to 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

HEMMI, Shigeru modified a comment on discussion Open Discussion
25.09.2018

An executable program, MySomeExe.exe is built from some forran(+C) source files with the x86_64-8.1.0 mingw-w64 tool. I examined shared library dependencies by dumpbin command of MS. The output is as follows: E:\someplace>dumpbin/dependents MySomeExe.exe Microsoft (R) COFF/PE Dumper Version 14.15.26730.0 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file MySomeExe.exe File Type: EXECUTABLE IMAGE Image has the following dependencies: libopenblas.dll libgcc_s_seh-1.dll KERNEL32.dll...

HEMMI, Shigeru posted a comment on discussion Open Discussion
25.09.2018

An executable program, MySomeExe.exe is built from some forran(+C) source files with the x86_64-8.1.0 mingw-w64 tool. I examined shared library dependencies by dumpbin command of MS. The output is as follows: E:\someplace>dumpbin/dependents MySomeExe.exe Microsoft (R) COFF/PE Dumper Version 14.15.26730.0 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file dsimpletest_SEQ.exe File Type: EXECUTABLE IMAGE Image has the following dependencies: libopenblas.dll libgcc_s_seh-1.dll KERNEL32.dll...

Martin Storsjö committed [161a64]
24.09.2018

crt: Regenerate Makefile.in

Martin Storsjö committed [22be61]
24.09.2018

crt: Remove a leftover chunk from 21b6366dd9cc3b8a6fe11698b326aa2eb88acc7d

Martin Storsjö committed [06cb09]
24.09.2018

crt: Regenerate configure

Jacek Caban committed [03ca1a]
23.09.2018

runtimeobject.mri: Use common .mri file for all architectures.

Jacek Caban committed [76d409]
23.09.2018

vfw32.mri: Use common .mri file for all architectures.

Jacek Caban committed [a7f2b2]
23.09.2018

synchronization.mri: Use common .mri file for all architectures.

Jacek Caban committed [21b636]
23.09.2018

windowsapp.mri: Use common .mri file for all architectures.

Jacek Caban committed [cfd85e]
21.09.2018

winnt.h: Fix FILE_ID_128 declaration.