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.2: 2017-03-28

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

Jacek Caban committed [657f4a]
23.06.2017

dwrite.h: Added missing DWRITE_READING_DIRECTION values.

Jacek Caban committed [03fa12]
22.06.2017

strsafe.h: Added missing _STRSAFE_EXTERN_C in cases when inlining is disables.

Jacek Caban committed [7c90d5]
22.06.2017

Added oleacc.tlb.

Sebastien Donnet posted a comment on discussion Help
20.06.2017

Hi, I'm trying to install MS-MPI libraries in mingw-w64. I followed this tutorial : http://www.math.ucla.edu/~wotaoyin/windows_coding.html and everything worked well until: gcc mpi_hello_world.c -lmsmpi -o mpi_hello.exe where I got those errors: C:\Users\donnets\AppData\Local\Temp\1\ccYsaNaM.o:mpi_hello_world.c:(.text+0x22): undefined reference to MPI_Init' C:\Users\donnets\AppData\Local\Temp\1\ccYsaNaM.o:mpi_hello_world.c:(.text+0x33): undefined reference toMPI_Comm_size' C:\Users\donnets\AppData\Local\Temp\1\ccYsaNaM.o:mpi_hello_world.c:(.text+0x44):...

Jonathan Yong posted a comment on discussion Help
20.06.2017

Can you test with -Wl,--disable-runtime-pseudo-reloc

niXman modified ticket #626
20.06.2017

с++11 mismatch in standard library c++ streams implementation

stephane created ticket #131
20.06.2017

Problem with a lambda with mingw-w64 4.9.2 x86_64

kabanda posted a comment on discussion Open Discussion
20.06.2017

When I issue the command: go get github.com/mattn/go-sqlite3 I get errors: gcc: error: unrecognized command line option '-m64' gcc: error: unrecognized command line option '-mno-stack-arg-probe' I have installed the latest tdm64-gcc-5.1.0-2.exe Can sumebody please let me know a way round this?

Jonathan Yong posted a comment on discussion Help
20.06.2017

IIRC it is related to how dll autoimport stub fixup works. It uses VirtualProtect to fixup the import tables.

Jacek Caban committed [6480f3]
19.06.2017

widl: Try to find imported typelib using .tlb extension if it wasn't specified.