GCC for Windows 64 & 32 bits


The heart of the Mingw-w64 project is headers and support libraries to run the output of GCC on Windows. Since Mingw-w64 is neither the home of GCC nor of binutils, several sets of installation packages which combine them are available.

In addition, the sources are available but most people will want to grab binaries directly..

Pre-built toolchains and packages

Version Host GCC / Mingw-w64 Version Languages Additional Software in Package Manager
Arch Linux logo Arch Linux Arch Linux 5.3.0/4.0.6 Ada, C, C++, Fortran, Obj-C, Obj-C++
305, full list
Cygwin logo Cygwin Rolling Windows Windows Logo 4.9.2/4.0.2 Ada, C, C++, Fortran, Obj-C 5 (bzip2, libgcrypt, libgpg-error, minizip, xz, zlib)
Debian logo Debian Debian 7 (Wheezy) 4.6.3/2.0.3 Ada, C, C++, Fortran, Obj-C, Obj-C++, OCaml 2 (gdb, nsis)
Debian 8 (Jessie) 4.9.1/3.2.0
Debian 9 (Stretch) 5.3.1/4.0.5 3 (gdb, nsis, zlib)
Fedora Linux logo Fedora Fedora 19 4.8.1/? Ada, C, C++, Fortran, Obj-C, Obj-C++
149, full list
Mingw-builds Rolling Windows Windows Logo 4.8.2/trunk C, C++ 4 (gdb, libiconf, python, zlib)
Msys2 logo Msys2 Rolling Windows Windows Logo 5.3.0/trunk C, C++ many
Ubuntu logo Ubuntu 12.04 Precise Pangolin 4.6.3/2.0.1 Ada, C, C++, Fortran, Obj-C, Obj-C++, OCaml 2 (nsis, gdb)
14.04 Trusty Tahr 4.8.2/3.1.0
14.10 Utopic Unicorn 4.9.1/3.1.0
15.04 Vivid Vervet 4.9.2/3.2.0
15.10 Wily Werewolf 4.9.2/4.0.2
16.04 Xenial Xerus 5.3.1/4.0.4 3 (nsis, gdb, zlib)
Win-builds logo Win-Builds 1.5 Windows Windows Logo
Linux Tux Logo
4.8.3/3.3.0 C, C++
91, full list


Tarballs for the mingw-w64 sources are hosted on SourceForge. The latest version from the 4.x series is 4.0.6. The latest version from the 3.x series is 3.3.0. Winpthreads has been merged into the main tarball as of 3.1.0.

The old wiki has instructions for building native and cross toolchains.

Details on how to get the mingw-w64 code from Git and an Git-web viewer are available on SourceForge.

Unsorted complementary list

Darwin/Mac OS X

The existing Darwin binaries have been built through buildbot in 2013 and links to them can be found on the dedicated page.


The OpenSUSE Linux distribution also has a large and well-maintained set of packages for cross-compilation.


Rubenvb has built a number of toolchains including some for less common setups. They are split into two categories: toolchains targeting Win32 or Win64.

Store of binaries on SourceForge

A very large number of other binaries and sources are hosted in the File Release System on Sourceforge which might have what you are after.