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

v7.0.0: 2019-11-10

Notable changes:

  • _FORTIFY_SOURCE support thanks to Christian Franke.
  • Lots of math fixes from Martin Storsjö.
  • Many headers updated from Wine by Jacek Caban.
  • UCRT support by 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

Kai Tietz posted a comment on discussion Help
07.12.2019

Hey, The missing library is actually from compiler runtime. You might need to provide those libraries in search path of your application The other chance would be to link libraries static. You can achieve this by passing '-static' option. See for further information linker/compiler documentation. Hope that helps you Kai Matthew Elmer mcmuffin6o@users.sourceforge.net schrieb am Sa., 7. Dez. 2019, 05:31: Update:--I figured out the command: x86_64-w64-mingw32-g++ -std=c++17 -Wall -o However, I am given...

LH_Mouse committed [395dcf]
07.12.2019

rename hyper-v headers and def files to lower case

LH_Mouse committed [9c158e]
07.12.2019

crt: Regenerate configure

Matthew Elmer modified a comment on discussion Help
07.12.2019

Update--I figured out the command: x86_64-w64-mingw32-g++ However, I am given the following error when trying to run through the windows cmd: "the code execution cannot proceed because libstdc++-6.dll was not found. Reinstalling the program may fix this problem." Can anyone shed some light on this? What am I missing? Do you need more than a .exe to run a .exe? Even the most basic of knowledge would be helpful. Thanks so much!

Matthew Elmer modified a comment on discussion Help
07.12.2019

Update--I figured out the command: x86_64-w64-mingw32-g++ However, I am given the following error when trying to run through the windows cmd: "the code execution cannot proceed because libstdc++-6.dll was not found. Reinstalling the program may fix this problem." Can anyone shed some light on this? What am I missing? Do you need more than a .exe to run a .exe? Even the most basic of knowledge would be helpful. Thanks so much!

Matthew Elmer modified a comment on discussion Help
07.12.2019

Update:--I figured out the command: x86_64-w64-mingw32-g++ However, I am given the following error when trying to run through the windows cmd: "the code execution cannot proceed because libstdc++-6.dll was not found. Reinstalling the program may fix this problem." Can anyone shed some light on this? What am I missing? Do you need more than a .exe to run a .exe? Even the most basic of knowledge would be helpful. Thanks so much!

Matthew Elmer posted a comment on discussion Help
07.12.2019

Update:--I figured out the command: x86_64-w64-mingw32-g++ -std=c++17 -Wall -o However, I am given the following error when trying to run through the windows cmd: "the code execution cannot proceed because libstdc++-6.dll was not found. Reinstalling the program may fix this problem." Can anyone shed some light on this? What am I missing? Do you need more than a .exe to run a .exe? Even the most basic of knowledge would be helpful. Thanks so much!

Matthew Elmer modified a comment on discussion Help
07.12.2019

Howdy all, I am not very knowledgeable about linux or operating systems or really anything software related in general. All I'm sorta good at is C++, which brings me to my question that you will all sigh and shake your heads at: How do I compile a 64-bit Windows application from C++ source files in Cygwin? I have all of the necessary packages installed, but I don't know the command. Thanks so much! Your help is much appreciated. -- Matthew

Matthew Elmer posted a comment on discussion Help
07.12.2019

Howdy all, I am not very knowledgeable about linux or operating systems or really anything software related in general. All I'm sorta good at is C++, which brings me to my question that you will all sigh and shake your heads at: How do I compile a 64-bit Windows application from C++ source files in Cygwin? I have all of the necessary packages installed, but I don't know the command. Thanks so much! Your help is appreciated. -- Matthew

Jacek Caban committed [b8e9cf]
06.12.2019

dcomptypes.h: Add some missing enums.