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

v5.0.3: 2017-11-04

initial Release: 2016-10-19

  • Fixes to the __mingw_printf family of functions.
  • DirectX updates from Wine.
  • Various updates to support Windows 7 and 10.
  • Various header typo fixes.

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

orondo jones modified a comment on discussion Open Discussion
18.04.2018

I am trying to determine how to handle domain and range errors using the g++ compiler (Mingw64). I have provided some sample code below which is the approach that I use for g++ on Linux systems. When I compile I get the following messages: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas"> #pragma STDC FENV_ACCESS ON error: 'math_errhandling' was not declared in this scope error: 'MATH_ERRNO' was not declared in this scope error: 'MATH_ERREXCEPT' was not declared in this scope I have...

orondo jones modified a comment on discussion Open Discussion
18.04.2018

I am trying to determine how to handle domain and range errors using the g++ compiler (Mingw64). I have provided some sample code below which is the approach that I use for g++ on Linux systems. When I compile I get the following messages: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas"> #pragma STDC FENV_ACCESS ON error: 'math_errhandling' was not declared in this scope error: 'MATH_ERRNO' was not declared in this scope error: 'MATH_ERREXCEPT' was not declared in this scope I have...

orondo jones posted a comment on discussion Open Discussion
18.04.2018

I am trying to determine how to handle domain and range errors using the g++ compiler (Mingw64). I have provided some sample code below which is the approach that I use for g++ on Linux systems. When I compile I get the following messages: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas"> #pragma STDC FENV_ACCESS ON error: 'math_errhandling' was not declared in this scope error: 'MATH_ERRNO' was not declared in this scope error: 'MATH_ERREXCEPT' was not declared in this scope I have...

Anish posted a comment on discussion Help
18.04.2018

Hi all, Can any please help me out to get ARM Tool chain 64 bit in Mingw-64 for windows ? . Procedure I will have to follow: Download the complete source code of mingw-64 . Run configure ( here I dont know what parameters I should give for getting arm 64 tool chain ) . make make install . If I am able to run the above steps successfully , I should be getting arm-gcc which I can use it for compiling my source codes . Please correct me if my understanding is wrong ?

Anish posted a comment on discussion Open Discussion
18.04.2018

Hi all, Can any please help me out to get ARM Tool chain 64 bit in Mingw-64 for windows ? . Procedure I will have to follow: Download the complete source code of mingw-64 . Run configure ( here I dont know what parameters I should give for getting arm 64 tool chain ) . make make install . If I am able to run the above steps successfully , I should be getting arm-gcc which I can use it for compiling my source codes . Please correct me if my understanding is wrong ? .

Muhammad Ali Siddiqui posted a comment on discussion Open Discussion
16.04.2018

I am getting following error when I run mingw32-make D:\MAS\AppData\Local\Temp\ccksf6tI.s: Assembler messages: D:\MAS\AppData\Local\Temp\ccksf6tI.s:21573: Error: invalid register for .seh_savexmm D:\MAS\AppData\Local\Temp\ccksf6tI.s:21575: Error: invalid register for .seh_savexmm D:\MAS\AppData\Local\Temp\ccksf6tI.s:21577: Error: invalid register for .seh_savexmm D:\MAS\AppData\Local\Temp\ccksf6tI.s:21579: Error: invalid register for .seh_savexmm D:\MAS\AppData\Local\Temp\ccksf6tI.s:21581: Error:...

Martin Storsjö committed [04c1a0]
15.04.2018

setjmp: Provide a manual implementation for arm and arm64

voidpointer created ticket #721
13.04.2018

sh.exe is removing curly braces in arguments

Thomas McLeod posted a comment on discussion Help
13.04.2018

I have several Eclipse C++ projects that use MinGW-x64 just fine, except that it is the 6.3 version. I downloaded and installed the 7.3 version and I noticed that it installed in the C:\Program Files\mingw64 instead of C:\mingw64. So, now I have two MinGW-w64 installations on my workstation, but Eclipse still only recognizes the older one. How do I made Eclipse use the newer installation?