implementation of the GNU toolchain for Windows, 32-bit version; see also Mingw-w64
MinGW_installation_manager.webp
MinGW GCC For M68K
MinGW ("Minimalist GNU for Windows"), formerly mingw32, is a free and open source software development environment to create Microsoft Windows applications. MinGW includes a port of the GNU Compiler Collection (GCC), GNU … Wikipedia
Ratings
Factsheet
Original author Colin Peters
Developer MinGW Project
Initial release July 1, 1998; 27 years ago (1998-07-01)
Factsheet
Original author Colin Peters
Developer MinGW Project
Initial release July 1, 1998; 27 years ago (1998-07-01)
🌐
Wikipedia
en.wikipedia.org β€Ί wiki β€Ί MinGW
MinGW - Wikipedia
1 week ago - MinGW includes a port of the GNU Compiler Collection (GCC), GNU Binutils for Windows (assembler, linker, archive manager), a set of freely distributable Windows specific header files and static import libraries which enable the use of the Windows API, a Windows native build of the GNU Project's ...
🌐
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.
🌐
Wikipedia
en.wikipedia.org β€Ί wiki β€Ί Mingw-w64
Mingw-w64 - Wikipedia
3 weeks ago - Mingw-w64 is a free and open-source suite of development tools that generate Portable Executable (PE) binaries for Microsoft Windows. It was forked in 2005–2010 from MinGW (Minimalist GNU for Windows). Mingw-w64 includes a build of the GNU Compiler Collection (GCC) targeting the MinGW-w64 ...
🌐
OSDev Wiki
wiki.osdev.org β€Ί MinGW
MinGW - OSDev Wiki
MinGW (Minimalist GNU for Windows) is a port of several GNU utilities to the Windows console environment, including the GCC / binutils toolchain. It is less sophisticated than Cygwin, but more compact with a lower overhead.
🌐
Qt Wiki
wiki.qt.io β€Ί MinGW
MinGW - Qt Wiki
MinGW is a free and open source Windows port of the GCC compiler and related tools. Qt supports MinGW as a platform on Windows in addition to Visual Studio compiler by Microsoft. However, it can also be used as a cross-compiler e.g.
🌐
Mingw
mingw.org β€Ί wiki β€Ί MSYS
mingw.org
MinGW, short for Minimalist GNU for Windows, is a development environment designed to bring the power of GNU tools and libraries to the Windows platform. It provides a lightweight, yet functional, set of tools that enable developers to compile and run native Windows applications using familiar ...
🌐
Mingw
mingw.org
www.mingw.org - Coming Soon
MinGW, short for Minimalist GNU for Windows, is a development environment designed to bring the power of GNU tools and libraries to the Windows platform. It provides a lightweight, yet functional, set of tools that enable developers to compile ...
🌐
Tcl Wiki
wiki.tcl-lang.org β€Ί page β€Ί mingw
mingw - the Tcler's Wiki!
MinGW , short for Minimalist GNU for Windows, provides a port of GCC to Microsoft Windows, along a shell and a collection of utilities that constitute a typical minimal environment in which to build software with GCC.
Find elsewhere
🌐
Fandom
setup.fandom.com β€Ί wiki β€Ί MinGW
MinGW | Set up and get started Wiki | Fandom
1. Go to the getting started page at MinGW's home page: http://www.mingw.org/wiki/Getting_Started, where you will find a link to the latest automated MinGW installer from sourceforge.net (currently MinGW-5.1.4.exe).
🌐
OSDN
osdn.net β€Ί find software β€Ί software development β€Ί code generators β€Ί mingw - minimalist gnu for windows
MinGW - Minimalist GNU for Windows Project Top Page - OSDN
December 22, 2024 - This is the official download site for the latest packages originating from the MinGW.OSDN Project, (formerly the MinGW.org Project; however, that domain is no longer associated with this project).
🌐
Linux.org
linux.org β€Ί home β€Ί forums β€Ί linux.org news, tutorials and articles β€Ί linux original content β€Ί linux articles β€Ί linux other
MinGW | Linux.org
June 28, 2015 - However, because of its popularity and the fact that GCC is open-source, GCC can be ported to Windows. This ported GCC is called MinGW. Minimalistic GNU for Windows (MinGW - http://www.mingw.org/)...
🌐
Gentoo Wiki
wiki.gentoo.org β€Ί wiki β€Ί Mingw
MinGW - Gentoo wiki
MinGW (historically MinGW32) is a toolchain that provides a native GCC-based environment for compiling Windows binaries. It can also be used in cross-compilation setups to build binaries on other operating systems. MinGW-w64 is a fork of MinGW that adds support for 64-bit Windows executables.
🌐
Khronos
khronos.org β€Ί opengl β€Ί wiki β€Ί MinGW
MinGW - OpenGL Wiki
http://www.mingw.org/ http://gcc.gnu.org/onlinedocs/ http://www.xmission.com/~nate/glut.html Β· http://www.xmission.com/~nate/glut/glut-3.7.6-bin.zip Β· http://www.elf-stone.com/glee.php Β· http://glew.sourceforge.net/ http://www.opengl.org/resources/code/samples/redbook/ http://www.opengl.org/resources/code/samples/redbook/hello.c Β· Retrieved from "https://wikis.khronos.org/opengl/index.php?title=MinGW&oldid=2079"
🌐
Qt Wiki
wiki.qt.io β€Ί Mingw-64-bit
Mingw-64-bit - Qt Wiki
The MinGW from http://www.mingw.org/ does only support gcc 32 bit (host and target). The independent minGW-w64 project provides support for 64 bit, and also supports a much larger part of the Windows API.
🌐
Wikidata
wikidata.org β€Ί wiki β€Ί Q595758
MinGW - Wikidata
implementation of the GNU toolchain for Windows, 32-bit version; see also Mingw-w64 Β· Minimalist GNU for Windows edit Β· instance of Β· compiler Β· 0 references Β· port Β· 0 references Β· inception Β· 1 July 1998 Β· 2 references Β· imported ...
🌐
Readthedocs
cython-docs2.readthedocs.io β€Ί en β€Ί latest β€Ί src β€Ί tutorial β€Ί appendix.html
Appendix: Installing MinGW on Windows β€” Cython 0.15pre documentation
Download the MinGW installer from http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite. (As of this writing, the download link is a bit difficult to find; it’s under β€œAbout” in the menu on the left-hand side).
🌐
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
Top answer
1 of 5
63

MinGW is a complete GCC toolchain (including half a dozen frontends, such as C, C++, Ada, Go, and whatnot) for the Windows platform which compiles for and links to the Windows OS component C Runtime Library in msvcrt.dll. Rather it tries to be minimal (hence the name).

This means, unlike Cygwin, MinGW does not attempt to offer a complete POSIX layer on top of Windows, but on the other hand it does not require you to link with a special compatibility library.
It therefore also does not have any GPL-license implications for the programs you write (notable exception: profiling libraries, but you will not normally distribute those so that does not matter).

The newer MinGW-w64 comes with a roughly 99% complete Windows API binding (excluding ATL and such) including x64 support and experimental ARM implementations. You may occasionally find some exotic constant undefined, but for what 99% of the people use 99% of the time, it just works perfectly well.

You can also use the bigger part of what's in POSIX, as long as it is implemented in some form under Windows. The one major POSIX thing that does not work with MinGW is fork, simply because there is no such thing under Windows (Cygwin goes through a lot of pain to implement it).
There are a few other minor things, but all in all, most things kind of work anyway.

So, in a very very simplified sentence: MinGW(-w64) is a "no-frills compiler thingie" that lets you write native binary executables for Windows, not only in C and C++, but also other languages.

2 of 5
34

To compile C program you need a C implementation for your specific computer.

C implementations consist, basically, of a compiler (its preprocesser and headers) and a library (the ready-made executable code).

On a computer with Windows installed, the library that contains most ready-made executable code is not compatible with gcc compiler ... so to use this compiler in Windows you need a different library: that's where MinGW enters. MinGW provides, among other things, the library(ies) needed for making a C implementation together with gcc.


The Windows library and MSVC together make a different implementation.

🌐
ArchWiki
wiki.archlinux.org β€Ί title β€Ί MinGW_package_guidelines
MinGW package guidelines - ArchWiki
For ix86/x86_64 the typical choice is to use mingw-w64- with GCC/libstdc++ and binutils. This is therefore what AUR packages following the package naming mingw-w64-pkgname use. The rest of this Wiki page focuses on those packages.