Downloads - MinGW-w64 (2024)

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

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

Version Host GCC / Mingw-w64 Version Languages Additional Software in Package Manager

Arch Linux
Arch Linux 13.1.0/11.0.0 Ada, C, C++, Fortran, Obj-C, Obj-C++ many

Cygwin
Rolling Windows 11.3.0/10.0.0 C, C++, Fortran, Obj-C many

Debian
Debian 10 (Buster) 8.3.0/6.0.0 Ada, C, C++, Fortran, Obj-C, Obj-C++ 9 (gdb, libassuan, libgcrypt, libgpg-error, libksba, libnpth, nsis, win-iconv, zlib)
Debian 11 (Bullseye) 10.2.1/8.0.0
Debian 12 (Bookworm) 12.0.0/10.0.0

Fedora
Fedora 36 11.2.1/9.0.0 Ada, C, C++, Fortran, Obj-C, Obj-C++ many
Fedora 37 12.2.1/10.0.0
LLVM-MinGW 20240518 Windows, Linux, macOS LLVM 18.1.6/trunk C, C++ make, Python

MacPorts
Rolling macOS 13.2.0/11.0.1 C, C++, Fortran, Obj-C, Obj-C++ 1 (nsis)
MinGW-W64-builds Rolling Windows 13.1.0/11.0.0 C, C++, Fortran 4 (gdb, libiconf, python, zlib)

MSYS2
Rolling Windows 14.1.0/trunk Ada, C, C++, Fortran, Obj-C, Obj-C++, OCaml many

Ubuntu
20.04 Focal Fossa 9.3.0/7.0.0 Ada, C, C++, Fortran, Obj-C, Obj-C++ 9 (gdb, libassuan, libgcrypt, libgpg-error, libksba, libnpth, nsis, win-iconv, zlib)
22.04 Jammy Jellyfish 10.3.0/8.0.0
22.10 Kinetic Kudu 10.3.0/10.0.0
23.04 Lunar Lobster 12.2.0/10.0.0
w64devkit 2.0.0 Windows 14.2.0/12.0.0 C, C++, Fortran 8 (busybox, cppcheck, ctags, gdb, make, nasm, pkg-config, vim)
WinLibs.com Rolling Windows 13.2.0 Ada, C, C++, Fortran, Obj-C, Obj-C++, Assembler Package manager: work in progress (will offer > 2500 packages)

Arch Linux

Installation:

Cygwin

Cygwin is a Unix-like environment and command-lineinterface for Microsoft Windows. Its core is the cygwin1.dll library whichprovides POSIX functionality on top of the Win32 API. It can be used as a buildenvironment which targets Windows directly and for which output doesn't dependon cygwin1.dll.

Installation is done through cygwin's package manager:setup.exe.

As part of the numerous packages in cygwin, there are cross-compilationtoolchains which target both 32 bits and 64 bits; their names start with“mingw64-”.

Once they are installed, they should be used according to the generalcross-compilation approach.

Debian

Installation: through integrated package manager.

Mingw-w64 packages on Debian

Fedora

Installation: through integrated package manager.

LLVM-MinGW

LLVM-MinGW is a toolchain built with Clang, LLD, libc++, targetingi686, x86_64, arm and aarch64 (ARM64), with releases both for runningas a cross compiler from Linux and for running on Windows. It supportsAddress Sanitizer, Undefined Behaviour Sanitizer, and generating debuginfo in PDB format.

Installation: GitHub

MacPorts

To install just the 32-bit or just 64-bit compiler with dependencies, use:

sudo port install i686-w64-mingw32-gccsudo port install x86_64-w64-mingw32-gcc

A shortcut to install both:

sudo port install mingw-w64

Here is the list of Mingw-w64 packages on MacPorts.

MinGW-W64-builds

Installation: GitHub

MSYS2

Installation: GitHub

Ubuntu

Installation: through integrated package manager.

Mingw-w64 packages on Ubuntu

w64devkit

w64devkit is a portable C and C++ development kit for x64 (and x86) Windows.

Included tools:

The toolchain includes pthreads, C++11 threads, and OpenMP. All includedruntime components are static.

Installation: GitHub

WinLibs.com

Standalone MinGW-w64+GCC builds for Windows, built from scratch (including all dependencies) natively on Windows for Windows.

Downloads are archive files (.zip or .7z). No installation is required,just extract the archive and start using the programs in mingw32\bin or mingw64\bin.This allows for a relocatable compiler suite and allows having multiple versions on the same system.

Also contains other tools including:

  • GDB - the GNU Project debugger
  • GNU Binutils - a collection of binary tools
  • GNU Make - a tool which controls the generation of executables and other non-source files
  • Yasm - The Yasm Modular Assembler Project
  • NASM - The Netwide Assembler
  • JWasm - A free MASM-compatible assembler

Flavors:

  • separate packages for 32-bit (i686) and 64-bit (x86_64) Windows
  • separate packages for MSVCRT and UCRT builds
  • only POSIX threads builds (which also include Win32 API thread functions)
  • exception model: Dwarf for 32-bit (i686) and SEH for 64-bit (x86_64)

Installation: Download from winlibs.com and extract archive (no installation needed).

Sources

Tarballs for the mingw-w64 sources are hosted onSourceForge.

The latest version from the 11.x series is 11.0.0.

The latest version from the 10.x series is 10.0.0.

The latest version from the 9.x series is 9.0.0.

The latest version from the 8.x series is 8.0.2.

The latest version from the 7.x series is 7.0.0.

The latest version from the 6.x series is 6.0.0.

The latest version from the 5.x series is 5.0.4.

The old wiki has instructions for buildingnativeandcrosstoolchains.

Details on how to get the mingw-w64 code from Git and an Git-web viewer areavailable onSourceForge.

Unsorted complementary list

Darwin/Mac OS X

The existing Darwin binaries have been built through buildbot in 2013 and linksto them can be found on the dedicatedpage.

GCC with the MCF thread model

GCC with the MCF thread model is a series ofx86 and x64 native toolchains built by LH_Mouse. The MCF thread model has beenmerged into GCC 13, and can be enabled by passing --enable-threads=mcf toGCC's configure script. C++11 threading facilities, such as std::thread,std::mutex, std::condition_variable, std::call_once, thread_local etc.invoke the mcfgthread library, whichimplements them on Windows syscalls in a more standard-compliant and moreefficient way, outperforming even native slim reader/write locks (SRW) sinceWindows Vista.

OpenSUSE

The OpenSUSE Linuxdistribution also has alarge and well-maintained set of packages for cross-compilation.

Rubenvb

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

Downloads - MinGW-w64 (2024)

FAQs

Why am I not able to download MinGW? ›

This can be due to corrupt file, some OS security issue, or because you are not running the installer as Administrator. However, even running the MinGW's msi file as admin, you might still experience this file error. Download MinGW zip archive. Download x86_64-win32-sjlj archive (or one that matches your OS.)

How to install MinGW-w64 correctly? ›

Installing the MinGW-W64 C++ Compiler on Windows
  1. Unzip the project file. Navigate to your downloads folder, unzip the installing_mingw_64-master. ...
  2. Unzip the source file. ...
  3. Copy source files. ...
  4. Paste source files. ...
  5. Confirm. ...
  6. You need to set your PATH so windows can find the compiler.
Aug 22, 2019

Do I need to download MinGW for Vscode? ›

Make sure you have completed the "Installing the MinGW-w64 toolchain" step before attempting to run and debug helloworld.cpp in VS Code.

Why is MinGW required? ›

The MinGW project maintains and distributes a number of different core components and supplementary packages, including various ports of the GNU toolchain, such as GCC and binutils, translated into equivalent packages. These utilities can be used from the Windows command line or integrated into an IDE.

Why am I struggling to download? ›

If your device is low on storage space, it can stop apps from downloading and installing. Your device may be low on space if: You get a notification about storage space. There's less than 1 GB available on your device.

How to check if MinGW is installed correctly? ›

Test MinGW-w64

If version information of the compiler is displayed, it was successful and you can continue with the next section. If you get an error such as "Command g++ not found", then something went wrong. In this case, verify that the PATH variable was successfully set and directs to the correct installation path.

Where should I download MinGW from? ›

MinGW
  1. Click MinGW. The following page will appear in your browser (from the SourceForge web site).
  2. Click the Download mingw-get-setup.exe(86.5 kB) link. ...
  3. Move this file to a more permanent location, so that you can install MinGW (and reinstall it later, if necessary).
  4. Start the Installation instructions directly below.

Is MinGW compiler safe? ›

I have found the MinGW-w64 compilers very good, and GCC 4.6 and above (actually, 4.5. 1 and above) are very capable of producing good 64-bit code for Windows. Please remember that MinGW provides essentially the same C API as msvcrt.

Which is better, Cygwin or MinGW? ›

Cygwin and MinGW [or rather, mingw-w64] are really different things with very different use cases. You should use Cygwin when you have POSIX code that you want to compile unmodified on Windows. You should use mingw-w64 when you can modify your sources (eg.

Is MinGW a compiler or IDE? ›

MinGW is a compiler system based on the GNU GCC and Binutils projects that compiles and links code to be run on Win32 (Windows) systems. It provides C, C++ and Fortran compilers plus other related tools.

Is MinGW required for Dev C++? ›

Dev-C++ internally uses MinGW (Minimalist GNU for Windows) Compiler. It can be used to code programs in C++ as well as C language. This article discusses how to download Dev-C++ and install it on your Windows computer.

What is the difference between MinGW and GCC? ›

GCC stands for GNU Compiler Collection — on open source collection of compilers for various languages based on a common core compiler and linker. MinGW stands for Minimal GNU for Windows. This is a copy GCC plus other common utilities and libraries used in compiling and linking C or C++ code using the GNU tools.

Is MinGW discontinued? ›

(The org site may be outdated but as others suggested, look into mingw-w64. And no it won't ever be dead as long as there is stuff like FFmpeg, and countless others, which require it. Video encoding isn't going away any time soon.)

What is MINGW64 used for? ›

Mingw-w64 is a free and open-source suite of developments tools that generate Portable Executable (PE) binaries for Microsoft Windows. It was forked in 2005–2010 from MinGW (Minimalist GNU for Windows).

How to install MinGW-w64 on Windows? ›

MinGW-W64
  1. You may first download MinGW-W64 Online Installer available here.
  2. Once downloaded execute mingw-w64-install.exe . ...
  3. Press Next button and keep default installation folder to C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0.

How do I download and install MinGW? ›

MinGW
  1. Click MinGW. The following page will appear in your browser (from the SourceForge web site).
  2. Click the Download mingw-get-setup.exe(86.5 kB) link. ...
  3. Move this file to a more permanent location, so that you can install MinGW (and reinstall it later, if necessary).
  4. Start the Installation instructions directly below.

How to install mingw-w64 in Windows 11? ›

Install prerequisites
  1. Open settings.
  2. Search for Edit environment variables for your account.
  3. Choose path variable and then select edit.
  4. Select New and add the path to Mingw-w64 bin folder. ...
  5. Select OK to save the updated path.
  6. Now reopen your cmd and check if everything is good by typing:

What to do if gcc is not recognized? ›

The error "'gcc' is not recognized as the name of a cmdlet, function, script file, or operable program.” occurs for two primary reasons: Reason 1: Absence of the gcc compiler on your computer. The solution is to simply install it. Reason 2: The Compiler path is not included in your system's 'PATH' environment variable.

How to install MinGW offline? ›

Direct link to this answer
  1. Go to sourceforge website and find the page for the mingw-w66 project at: https://sourceforge.net/projects/mingw-w64/
  2. Select files.
  3. Find MinGW-W64 GCC-8.1.0 section.
  4. Download the x86_64-posix-seh file.
  5. Unzip the downloaded file with 7zip.

Top Articles
The Death Of Mikayla Campinos: A Tragic Story
Unraveling The Mystery Behind The Mikayla Campinos Leak
Po Box 7250 Sioux Falls Sd
Access-A-Ride – ACCESS NYC
Breaded Mushrooms
Rabbits Foot Osrs
Encore Atlanta Cheer Competition
Noaa Swell Forecast
ds. J.C. van Trigt - Lukas 23:42-43 - Preekaantekeningen
Geometry Escape Challenge A Answer Key
Pro Groom Prices – The Pet Centre
Caliber Collision Burnsville
The fabulous trio of the Miller sisters
Vcuapi
Sony E 18-200mm F3.5-6.3 OSS LE Review
Sivir Urf Runes
Maplestar Kemono
My.tcctrack
Abortion Bans Have Delayed Emergency Medical Care. In Georgia, Experts Say This Mother’s Death Was Preventable.
Alexander Funeral Home Gallatin Obituaries
Committees Of Correspondence | Encyclopedia.com
U Break It Near Me
Race Karts For Sale Near Me
Aris Rachevsky Harvard
Allentown Craigslist Heavy Equipment
Espn Horse Racing Results
The BEST Soft and Chewy Sugar Cookie Recipe
Getmnapp
Synergy Grand Rapids Public Schools
Dtm Urban Dictionary
Bidrl.com Visalia
Jurassic World Exhibition Discount Code
Cinema | Düsseldorfer Filmkunstkinos
Bend Missed Connections
Current Students - Pace University Online
Darknet Opsec Bible 2022
Transformers Movie Wiki
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Lil Durk's Brother DThang Killed in Harvey, Illinois, ME Confirms
Santa Cruz California Craigslist
Hotels Near New Life Plastic Surgery
Wildfangs Springfield
Metra Schedule Ravinia To Chicago
Muziq Najm
Craigslist Pets Huntsville Alabama
Game8 Silver Wolf
Flags Half Staff Today Wisconsin
Yosemite Sam Hood Ornament
Horseneck Beach State Reservation Water Temperature
Diablo Spawns Blox Fruits
Game Akin To Bingo Nyt
Pilot Travel Center Portersville Photos
Latest Posts
Article information

Author: Clemencia Bogisich Ret

Last Updated:

Views: 5999

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Clemencia Bogisich Ret

Birthday: 2001-07-17

Address: Suite 794 53887 Geri Spring, West Cristentown, KY 54855

Phone: +5934435460663

Job: Central Hospitality Director

Hobby: Yoga, Electronics, Rafting, Lockpicking, Inline skating, Puzzles, scrapbook

Introduction: My name is Clemencia Bogisich Ret, I am a super, outstanding, graceful, friendly, vast, comfortable, agreeable person who loves writing and wants to share my knowledge and understanding with you.