🌐
SourceForge
sourceforge.net β€Ί projects β€Ί mingw
MinGW - Minimalist GNU for Windows download | SourceForge.net
A native Windows port of the GNU Compiler Collection (GCC) MinGW: A native Windows port of the GNU Compiler Collection (GCC), with freely distributable import libraries and header files for building native Windows applications; includes extensions ...
Rating: 4.3 ​ - ​ 223 votes
implementation of the GNU toolchain for Windows, 32-bit version; see also Mingw-w64
MinGW GCC For M68K
MinGW ("Minimalist GNU for Windows") is a compiler toolchain for creating native Microsoft Windows applications. It provides a port of the GNU Compiler Collection (GCC) and related tools that generate executables targeting … Wikipedia
Ratings
Factsheet
Developer MinGW Project
Initial release 1998; 28 years ago (1998)
Operating system Microsoft Windows
Factsheet
Developer MinGW Project
Initial release 1998; 28 years ago (1998)
Operating system Microsoft Windows
🌐
mingw-w64
mingw-w64.org
mingw-w64
Mingw-w64 is a collection of header files, import libraries, libraries and tools that, when combined with a compiler toolchain, such as GCC or LLVM, provides a complete development environment for building native Windows applications and libraries.
🌐
MathWorks
mathworks.com β€Ί matlabcentral β€Ί answers β€Ί 1691975-how-do-i-install-the-mingw-compiler-on-an-offline-computer
How do I install the MinGW compiler on an offline computer? - MATLAB Answers - MATLAB Central
April 8, 2022 - Hi, i would like to install the MinGW compiler on a computer that does not have access to internet. The two options i have found here are the Add-on Menu or the mingw.mlpkginstall file, but both ...
🌐
NTU Singapore
www3.ntu.edu.sg β€Ί home β€Ί ehchua β€Ί programming β€Ί howto β€Ί Cygwin_HowTo.html
How To setup and use Cygwin and MinGW
MinGW-w64 (short for "Minimalist ... environment for native Microsoft Windows applications, in particular: A port of the GNU Compiler Collection (GCC), including C, C++, ADA and Fortran compilers;...
🌐
Visual Studio Code
code.visualstudio.com β€Ί docs β€Ί cpp β€Ί config-mingw
Using GCC with MinGW
November 3, 2021 - Get the latest version of MinGW-w64 via MSYS2, which provides up-to-date native builds of GCC, MinGW-w64, and other helpful C++ tools and libraries. This will provide you with the necessary tools to compile your code, debug it, and configure it to work with IntelliSense.
🌐
Code::Blocks
codeblocks.org
Code::Blocks - Code::Blocks
Built around a plugin framework, Code::Blocks can be extended with plugins. Any kind of functionality can be added by installing/coding a plugin. For instance, event compiling and debugging functionality is provided by plugins!
Find elsewhere
🌐
Simple DirectMedia Layer
libsdl.org
Simple DirectMedia Layer - Homepage
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog ...
🌐
CMake
cmake.org β€Ί download
Download CMake
You can either download binaries or source code archives for the latest stable or previous release or access the current development (aka nightly) distribution through Git. This software may not be exported in violation of any U.S. export laws or regulations.
🌐
Reddit
reddit.com β€Ί r/cpp_questions β€Ί what is mingw, why there is a lot of compilers and why this is so confusing?
r/cpp_questions on Reddit: What is MinGW, why there is a lot of compilers and why this is so confusing?
November 6, 2023 -

I am interested in learning to program in C++. I have noticed that it requires a compiler, but there are a lot of options available, which confuses me a little. I have heard about MinGW, but I find it difficult to determine which page to download it from, as there are several options such as winlibs, sourceforge, and mingw-w64.org, and I am not sure which one is the official one. Furthermore, once on the mingw-w64 page, I find that there are multiple versions such as Cygwin, LLVM-MinGW, w64devkit, MingW-W64-builds, MSYS2, and WinLibs.com, which further complicates my decision. I wonder why there isn't a standard official compiler to avoid this confusion and what exactly MinGW is, and how the available compilers such as GCC or Clang differ. I would appreciate any guidance on which one to choose and please excuse my lack of knowledge on the subject.

Top answer
1 of 16
42
MinGW is an effort to port GNU tools, including particularly the gcc compiler suite, to run natively in Windows. There's a lot of history but to get the point, when you see a download like x86_64-13.2.0-release-win32-seh-msvcrt-rt_v11-rev1.7z … the various parts of the name indicate: x86_64 = 64 bit. That's what you want. In contrast, just x86 or i686 means 32-bit. 13.3.0 = version number. I believe that as of this writing that's the latest 'n greatest. release, well who knows. Might mean that this is an official release. Or might be in contrast to a "debug" version. win32 = it's for Windows, yay! Including 64-bit Windows. The super-misleading "32" is Microsoft's fault. seh = uses Windows' Structured Exception Handling to implement C++ try-throw-catch. msvcrt = the runtime library, here Microsoft's msvcrt.dll which is bundled with Windows. An alternative is the newer ucrt.dll, where the "u" stands for "universal". I know the former works well, not sure about the latter. As others have mentioned you can/should install the Visual Studio IDE in order to Get "Hello, world!" up and running. Debug things (its got a nice debugger). However, you should better also work in the command line in order to learn about compiling and linking and resources and input redirection and pipes and environment variables and current directory and much more. You can use the Visual C++ compiler from the command line via command cl, I believe at once backwards short for Lattice C, which was the compiler MS once bought and based their compiler on. After installing VS you can find "x64 Native Tools Command Prompt for VS 2022" in the Start menu's apps listing. You can use that to invoke cl, but do consider first installing Windows Terminal and making that your default console environment. Personally I instead use a little batch file to set up the requisite environment variables for Visual C++, like this: @echo off call "%VS-ROOT%\VC\Auxiliary\Build\vcvars64.bat" %* set CL=^ /nologo /utf-8 /EHsc /GR /permissive- /std:c++17 /Zc:__cplusplus /Zc:externC- /W4 /wd4459 ^ /D _CRT_SECURE_NO_WARNINGS=1 /D _STL_SECURE_NO_WARNINGS=1 The corresponding batch file for MinGW g++ is simpler: @echo off set op=%path% set path=c:\root\installed\MinGW\Nuwen 11-2-0\bin;%op% It's generally a good idea to use two different compilers, such as Visual C++ and g++, mainly because when one compiler's diagnostics get completely ungrokable, the other compiler can give at least a hint about what the problem is. Another reason is that compilers differ in their standards-conformance. When some code compiles cleanly with at least two compilers that have been told to be as conforming as possible, you can have better confidence that the code is valid standard C++.
2 of 16
17
Someone reset the counter. Forget MinGW. Download the free Visual Studio Community Edition (not Code).
🌐
Stack Overflow
stackoverflow.com β€Ί questions β€Ί tagged β€Ί mingw
Newest 'mingw' Questions - Stack Overflow
2 weeks ago - With this GDB: $ 'C:\Progra~1\msys64\mingw32\bin\gdb.exe' x86_debug/runTests.exe GNU gdb (GDB) 17.1 and this g++: /C/Program\ Files/msys64/mingw32/bin/g++.exe --version g++.exe (Rev9, Built by MSYS2 ... ... I encountered this error when trying to compile a Gtest application using MinGW on Windows: [build] D:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/...
🌐
OnlineGDB
onlinegdb.com β€Ί online_c++_compiler
Online C++ Compiler - online editor
OnlineGDB is online IDE with C++ compiler. Quick and easy way to compiler c++ program online. It supports g++ compiler for c++.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com β€Ί items
C/C++ - Visual Studio Marketplace
Extension for Visual Studio Code - C/C++ IntelliSense, debugging, and code browsing.
🌐
Dev-C++
bloodshed-dev-c.en.softonic.com β€Ί home β€Ί windows β€Ί development & it β€Ί programming languages β€Ί dev-c++
Dev-C++ - Download
November 3, 2025 - Dev-C++, free and safe download. Dev-C++ latest version: Open-source programming tool. Dev-C++ is a free, open-source development and IT program that
Rating: 8/10 ​ - ​ 14.2K votes
🌐
Scoop
scoop.sh
Scoop
A command-line installer for Windows
🌐
mingw-w64
mingw-w64.org β€Ί source
Source Code - mingw-w64
A complete runtime environment for GCC & LLVM for 32-bit (x86), 64-bit (x64), and ARM64 Windows
🌐
Wikipedia
en.wikipedia.org β€Ί wiki β€Ί MinGW
MinGW - Wikipedia
2 weeks ago - MinGW ("Minimalist GNU for Windows") is a compiler toolchain for creating native Microsoft Windows applications. It provides a port of the GNU Compiler Collection (GCC) and related tools that generate executables targeting the Windows API without ...
🌐
wxWidgets
forums.wxwidgets.org β€Ί board index β€Ί wxwidgets programming forums β€Ί compiler / linking / ide related
compiling monolithic static build with mingw - wxWidgets Discussion Forum
December 17, 2012 - Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here. ... Hello. I am running mingw 4.7.1 (as with codeblocks 12.11) i am compiling wxwidgets 2.9.4 i am doing this in win7 x64 currently i managed to compile the static library as NOT monolithic.
🌐
SourceForge
sourceforge.net β€Ί home β€Ί open source software β€Ί software development β€Ί compilers β€Ί mingw-w64 - for 32 and 64 bit windows β€Ί files
MinGW-w64 - for 32 and 64 bit Windows - Browse /mingw-w64/mingw-w64-release at SourceForge.net
MinGW-w64 - for 32 and 64 bit Windows /mingw-w64/mingw-w64-release files. Browse /mingw-w64/mingw-w64-release files for MinGW-w64 - for 32 and 64 bit Windows, A complete runtime environment for gcc
🌐
ImageMagick
imagemagick.org β€Ί script β€Ί download.php
ImageMagick | Download
The brew command downloads and installs ImageMagick with many of its delegate libraries (e.g. JPEG, PNG, Freetype, etc). Homebrew no longer allows configurable builds; if you need different compile options (e.g.