Skip to main content

Downloads

Several pre-built toolchains exist and provide various combinations of versions and configuration options which are given below. Some also provide additional packages and package managers for very simple installations.

arch linux logo Arch Linux - cross-compiler from Linux windows logo

Runs on Builds for GCC Languages C11/C++11 Threading Package Manager Installation
Arch Linux i686, x86_64 4.9.1 Ada, C, C++, Fortran, Objective-C, Objective-C++ Supported Yes AUR repository

Additional Software: admesh, agrum, allegro, alure, angleproject, apr, apr-util, aquila, asmjit, assimp, atk, atkmm, blas, boost, boost-python, box2d, bullet, bzip2, c-ares, cairo, cairomm, cal3d, cblas, celt, cgal, chipmunk, clang, clanlib, cmake, cminpack, coin-clp, coin-hg, coin-osi, coin-utils, confuse, corrade, cppnanomsg, cppunit, csfml, curl, d0_blind_id, db, dbus, dbus-glib, dlfcn, dlib, dumb, eigen, enca, enet, expat, f2c, fann, ffmpeg, fftw, flac, flann, fltk, fontconfig, freealut, freeglut, freeimage, freetype, fribidi, ftgl, gc, gconf, gdb, gdbm, gdc, gdk-pixbuf2, gettext, gf2x, giflib, glew, glfw, glib-networking, glib2, glibmm, glm, gmp, gmqcc, gnome-themes-standard, gnutls, goocanvas, gsl, gsm, gst-plugins-base, gst-plugins-good, gstreamer, gtest, gtk2, gtk3, gtkglext, gtkmm, gtkmm3, gtksourceview2, gtksourceview3, harfbuzz, hdf5, hidapi, icu, id3lib, iistaskpanel, ilmbase, intel-tbb, irrlicht, isl, jasper, json-c, json-glib, jsoncpp, kissfft, lame, lapack, lapackpp, lcms, lcms2, levmar, libarchive, libass, libassuan, libbluray, libconfig, libcroco, libcsv, libdvdcss, libdxfrw, libevent, libexif, libffi, libfplll, libftdi, libgcrypt, libgee, libglade, libgnurx, libgpg-error, libgtksourceviewmm2, libharu, libiconv, libidn, libjpeg, libjpeg-turbo, libltdl, libmad, libmariadbclient, libmikmod, libmodbus, libmodplug, libmpc, libmspack, libmysqlclient, libodbc++, libogg, libopencl, libpng, libpqxx, librsvg, libsigc++, libsndfile, libsodium, libsquish, libssh2, libsvm, libtasn1, libtheora, libtiff, libuecc, libunicows, libunistring, libusb, libvidstab, libvorbis, libvpx, libwebp, libxdiff, libxml++, libxml2, libxr, libxslt, libyaml, libzip, llvm-libs, log4c, lua, lua51, lzo2, matio, microhttpd, mini18n, mixmod, mman-win32, mpfr, mruby, msgpack, muparser, nanomsg, nettle, nlopt, nsis, nspr, nvidia-cg-toolkit, oclp, ode, oglimg, oglp, ois, onig, openal, openblas, openblas-lapack, opencl-headers, opencore-amr, openctm, opencv, openexr, openjpeg, openjpeg2, openssl, optpp, opus, orc, pango, pangomm, pcre, pdcurses, physfs, pixman, pkg-config, plibc, polyclipping, poppler, portaudio, postgresql-libs, ppl, proj, protobuf, pthreads, python, python2, qcustomplot-qt5, qhull, qrencode, qscintilla, qsint, qt4, qt4pas, qt5, quazip-qt4, quazip-qt5, qwt, qwt-qt5, qwt5, qxorm, readline, recode, resource, rtmpdump, ruby, schroedinger, sdl, sdl2, serf, sfgui, sfml, smpeg, smpeg2, smtpclient-qt5, soil, sparsehash, speex, spheresim, sqlite, stormlib, taglib, tcl, termcap, tinyxml, tk, tools, tox, unshield, uriparser, utf8-cpp, vala, venom, vtk, wavpack, win-iconv, winpthreads, wxmsw, wxmsw-static, wxmsw2.8, x264, x265, xalan-c, xerces-c, xvidcore, xz, yaml-cpp, yaml-cpp-hg, zeromq, zlib, zziplib.

cygwin logo Cygwin - cross-compiler in a complete POSIX environment windows logo

Runs on Builds for GCC Languages C11/C++11 Threading Package Manager Installation
Cygwin i686, x86_64 4.8.2 Ada, C, C++, Fortran, Objective-C Not supported Yes Cygwin.com

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

fedora logo Fedora, RHEL7, CentOS 7 - cross-compiler from Linux windows logo

Runs on Builds for GCC CRT Languages C11/C++11 Threading Package Manager Installation
Fedora 19 i686, x86_64 4.8.1 trunk 2013/07/21 Ada, C, C++, Fortran,
Objective-C, Objective-C++
Supported Yum/RPM From inside Fedora
(Fedora Mingw SIG)
Fedora 20, CentOS 7, RHEL 7 3.1.0

Additional Software: angleproject antlr atk atkmm binutils boost bzip2 cairo cairomm celt051 clucene cppunit curl cximage cxxtest dbus dbus-glib dirac dlfcn eigen3 enchant expat fftw fontconfig freeglut freetype ftplib GConf2 gdb gdbm gdk-pixbuf gettext giflib glew glib2 glibmm24 glib-networking gmp gnutls goocanvas2 gsl gstreamer gstreamer1 gstreamer1-plugins-{base,bad-free} gstreamer-plugins-{base,good} gtk2 gtk3 gtkglext gtkhtml3 gtkmm24 gtkmm30 gtksourceview3 gtkspell3 gtkspellmm30 gtk-vnc harfbuzz 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 openjpeg opensc openssl orc p11-kit pango pangomm pcre pdcurses pixman pkg-config plotmm polyclipping poppler portablexdr postgresql proj qpid-cpp qt qt5 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 - native toolchains using trunk windows logo

Runs on Builds for GCC CRT Languages C11/C++11 Threading Package Manager Installation
Windows 32/64 i686, x86_64 4.8.2 - 4.9.0 Trunk C, C++ To be chosen during installation No SourceForge

Note: toolchains using DWARF for exception handling are also available and faster than SJLJ but you shouldn't use them unless you're aware of their bugs and limitations.

Additional Software: GDB, Python, zlib, libiconv.

win-builds logo Win-builds - stable, native- and cross- compilers with libraries and package manager windows logo windows logo

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.

Runs on Builds for GCC Version CRT Languages C11/C++11 Threading Package Manager Installation
Windows 64 i686, x86_64 4.8.2 3.1.0 C, C++ Supported Yes win-builds.org
Linux 32/64
Windows 32 i686

Additional Software: atk, c-ares, ca-certificates, cairo, curl, dbus, efl, elementary, expat, flac, fontconfig, freetype, fribidi, gdb, gdk-pixbuf2, gettext, giflib, glib-networking, glib2, gmp, gnutls, gperf, gtk+2, harfbuzz, icu4c, libao, libarchive, libffi, libid3tag, libjpeg, libmad, libmpc, libogg, libpng, libsnfile, libsoup, libtasn1, libtheora, libtiff, libvorbis, libxml2, lua, madplay, mpfr, nettle, openssl, pango, pixman, pkg-config, sqlite, wget, win-iconv, winpthreads, x264, xz, zlib.

Builds running on Darwin (Automated Builds)

Most current Darwin toolchains have been built through automated builds on volunteers' machines with buildbot. These are nightly builds, using the then most recent source available for GCC, binutils and the CRT. They are therefore experimental and best avoided except for specific reasons.

Runs on Builds for Date Languages C11/C++11 Threading Download
Darwin 32 i686 2013/05/31 C, C++ Not supported SourceForge
x86_64 2013/06/22 SourceForge

Additional Software: None.

Source

Tarballs for the mingw-w64 sources are hosted on SourceForge. The latest version is 3.3.0. Winpthreads is available in the main tarball as of 3.1.0.

The 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.

Everything else

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

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

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.

Note: 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.