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

Joe Staursky posted a comment on discussion Open Discussion
25.06.2019

I am trying to get my application to run by double clicking on it within Windows. So far I have put all the requisite dlls in the same folder as my programs executible but after double-click launching it the programs drawing area will not display (however buttons appear and function normally). This problem does not happen if I run the program from a mingw cmd prompt. The error(s) that come up are Gtk-WARNING **; drawing failure for widget 'GtkDrawingArea': invalid value (typically too big) for the...

LH_Mouse committed [6abd3a]
25.06.2019

include/securitybaseapi: Add CveEventWrite and DeriveCapabilitySidsFromName

Edward Simones modified a comment on discussion Open Discussion
25.06.2019

Installing MinGW-w64 "Cannot download repository.txt" On a private network, attempting both with and without VPN, running as administrator. EDIT: Temp solution is to download the most recent build and manually place the folder yourself https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z/download

Edward Simones modified a comment on discussion Open Discussion
25.06.2019

Installing MinGW-w64 "Cannot download repository.txt" On a private network, attempting both with and without VPN, running as administrator. EDIT: Temp solution is to download the most recent build and manually place the folder yourself https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z/download

Edward Simones modified a comment on discussion Open Discussion
25.06.2019

Installing MinGW-w64 "Cannot download repository.txt" EDIT: Temp solution is to download the most recent build and manually place the folder yourself https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z/download

Edward Simones posted a comment on discussion Open Discussion
25.06.2019

Installing MinGW-w64 "Cannot download repository.txt"

NightStrike posted a comment on ticket #97
23.06.2019

SEH support is a GCC thing entirely. It has nothing to do with us. Also, SEH32 is completely different from SEH64, despite having the same name. Finally, nobody worked on it because until recently, Borland had a patent on the 32 bit version. On Sun, Jun 23, 2019, 6:52 AM Vladislav Toncharov kotauskas@users.sourceforge.net wrote: @tpaxatb https://sourceforge.net/u/tpaxatb/ I don't understand - I always thought that SEH support is only available in mingw-w64. So, SEH for x86_64 is implemented in GCC...

Vladislav Toncharov posted a comment on ticket #97
23.06.2019

@tpaxatb I don't understand - I always thought that SEH support is only available in mingw-w64. So, SEH for x86_64 is implemented in GCC and you can use it for Linux programs (or any for other OSes that have GCC cross compilers)? And how could a contribution there affect mingw-w64 - will the PR that implements SEH for i686 just be copied and pasted into mingw-w64?

LH_Mouse committed [ba74cf]
21.06.2019

Move MEMORY_PRIORITY_ defines outside a _WIN32_WINNT #if check to match Microsoft's definitions.

Jacek Caban committed [75d9c5]
20.06.2019

librpcrt4.a: Drop @0 suffix from varargs functions.