Skip to main content

Downloads and Installation

Several builds related to the Mingw-w64 project are available. Each build provides different versions and features. The main criteria are:

Automated Builds

The automated builds are built on volunteers' machines with buildbot. The builds are triggered daily for several configurations, each time using the most recent source available for GCC, binutils and the CRT. They are therefore experimental and best avoided unless for specific reasons.

Languages C++ Exceptions C11/C++11 Threading
C, C++ SJLJ Not supported

Host Target Date Download
Darwin 32 i686 2013/05/31 SourceForge
x86_64 2013/06/22 SourceForge
Linux 32 i686 2013/05/23 SourceForge
x86_64 2013/05/23 SourceForge
Linux 64 i686 2013/12/27 SourceForge
x86_64 2014/01/21 SourceForge

Additional Software: None.

NB: the naming scheme for the files is described on the wiki.


Cygwin

The toolchain runs inside Cygwin and can take advantage of its package manager.

Languages Package Manager C++ Exceptions C11/C++11 Threading
Ada, C, C++, Fortran, Objective-C Yes SJLJ Not supported

TargetsGCCCRTHomepage
i686, x86_64 4.5.3 3.0b_svn5747 Cygwin.com

Additional Software: bzip2, libgcrypt, libgpg-error, minizip, xz, zlib.


Fedora Project

The Fedora Linux distribution provides packages to cross-compile for Windows thanks to the Fedora Mingw SIG.

Languages Package Manager C++ Exceptions C11/C++11 Threading
Ada, C, C++, Fortran, Objective-C, Objective-C++ Yum/RPM SJLJ Supported (using winpthreads)

Host Target GCC Version CRT
Fedora 18 i686, x86_64 4.7.2 trunk 2013/07/21
Fedora 19 4.8.1 trunk 2013/07/21
Fedora 20 (alpha) 3.0.0

Additional Software: angleproject antlr atk atkmm binutils boost bzip2 cairo cairomm celt051 clucene cppunit crossreport crt curl cximage cxxtest dbus dbus-glib dirac dlfcn eigen3 enchant expat fftw filesystem fontconfig freeglut freetype ftplib gcc GConf2 gdb gdbm gdk-pixbuf gettext giflib glew glib2 glibmm24 glib-networking gmp gnutls goocanvas2 gsl gstreamer gstreamer1 gstreamer1-plugins-base gstreamer-plugins-bad-free gstreamer-plugins-base gstreamer-plugins-good gtk2 gtk3 gtkglext gtkhtml3 gtkmm24 gtkmm30 gtksourceview3 gtkspell3 gtkspellmm30 gtk-vnc harfbuzz headers hunspell icu jasper lcms lcms2 leptonica libarchive libffi libgcrypt libgeotiff libglade2 libglademm24 libgnurx libgpg-error libgsf libidn libjpeg-turbo libltdl libogg liboil libosinfo libp11 libpng libsigc++20 libsigsegv libsoup libsqlite3x libssh2 libtasn1 libtiff libusbx libvirt libvirt-glib libvorbis libwebp libxml++ libxml2 libxslt libzip llvm matahari nettle nsis nsiswrapper openjpeg opensc openssl orc p11-kit pango pangomm pcre pdcurses pixman pkg-config plotmm polyclipping poppler portablexdr postgresql proj pthreads qpid-cpp qt qt5-qt3d qt5-qtbase qt5-qtdeclarative qt5-qtgraphicaleffects qt5-qtimageformats qt5-qtjsbackend qt5-qtlocation qt5-qtquick1 qt5-qtscript qt5-qtsensors qt5-qtsystems qt5-qttools qt5-qttranslations qwt readline sane-backends SDL SDL_image SDL_mixer shapelib sigar spice-gtk spice-protocol sqlite srvany tcl termcap tesseract tk usbredir w64-tools webkitgtk webkitgtk3 wine-gecko win-iconv winpthreads winstorecompat wpcap wxWidgets xerces-c xz zfstream zlib.


Mingw-builds Project

Mingw-builds provides native toolchains for Windows. Builds are based on trunk version of the mingw-w64 runtime. It has an online installer.

Languages Installer C++ Exceptions C11/C++11 Threading
C, C++, Fortran Yes DWARF, SJLJ, SEH Supported (using winpthreads) or disabled

HostExceptionTargetGCCDownload
Windows 32 DWARF i686 4.6.2 - 4.8.2 Sourceforge.net
SJLJ i686, x86_64
Windows 64 SEH x86_64 Sourceforge.net
SJLJ x86_64, i686

Additional Software: GDB, Python, zlib, libiconv.


Win-builds Project

Win-builds provides toolchains and libraries to cross-compile for Windows or build natively. The builds are fully reproducible and the whole process is documented. It uses a package manager to enable painless installation and updates of all components.

Languages Package Manager C++ Exceptions C11/C++11 Threading
C, C++ Yypkg SJLJ for i686; SEH for x64 Supported (using winpthreads)

Host Target GCC Version CRT Homepage
Linux 64 i686, x86_64 4.8.2 3.1.0 win-builds.org
Windows 32 i686
Windows 64 i686, x86_64

Additional Software: atk, c-ares, ca-certificates, cairo, curl, dbus, ecore, edje, eet, eina, elementary, embryo, evas, evil, expat, flexdll, fontconfig, freetype, gdk-pixbuf2, gettext, giflib, glib-networking, glib2, gmp, gnutls, gperf, gtk+2, icu4c, libarchive, libffi, libjpeg, libmpc, libogg, libpng, libsoup, libtheora, libtiff, libvorbis, libxml2, lua, mpfr, nettle, ocaml, ocaml-findlib, openssl, pango, pixman, pkg-config, sqlite, wget, win-iconv, winpthreads, x264, xz, zlib.


Source

Tarballs for the mingw-w64 sources are hosted on SourceForge. The latest version is 3.1.0.

Winpthreads is available in the main tarball as of 3.1.0. For previous versions of the CRT, you need to checkout the SVN repository for mingw-w64-libraries.

The wiki has instructions for building native and cross toolchains.

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


Other Downloads

There are more toolchains available than the ones mentioned here. Most notable one is Ruben's (with toolchains targeting Win32 and Win64 along with the ones that available in OpenSuse and some with Dwarf2 Exception Handling along with clang binaries).

There are even more downloads (other toolchains, older versions, additional binaries, ...) available from the file hosting on SourceForge.

If you maintain toolchains and wish to have it listed on this page, please get in touch on IRC on #mingw-w64 on OFTC or on the Mingw-w64-public mailing-list.