Minimalist GNU for Win32 (updated for MinGW gcc 3.4.5)
NOTE:
Much of the information presented on this page is obsolete; updated information may be found here.
NOTE:
Much of the information presented on this page is obsolete; updated information may be found here.
Pthreads is part of POSIX and Windows isn't a POSIX system. However, there is a third party library on sourceware.org named pthreads-win32. Sourceware.org provides its own lists and MinGW does not support it but you are free to use it with MinGW at your own risk.
The "gcc" program invoked by users is a convenient front-end driver executable which will invoke other programs in the background such as cc1, as or ld to do its work according to the command line parameter given. A specs file is plain text used to control the default behavior for the "gcc" front-end. The specs file is usually built-in but for flexibility purposes, it can be overridden with an external version. Example use: link against a different version of msvcrt.dll.
If you are new to MinGW, see the MinGW Getting Started instructions to use the automated GUI or manual CLI (Command Line Interface) installers.
We highly reccommend that you use the automated installers provided by MinGW
Should you choose to proceed with these instructions, you should read the following first:
MinGW ("Minimalistic GNU for Windows") is a collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party C runtime DLLs.
MinGW may have problems with paths containing spaces, and if not, usually other programs used with MinGW will experience problems with such paths. Thus, we strongly recommend that you do not install MinGW in any location with spaces in the path name reference. You should avoid installing into any directory or subdirectory having names like "Program Files" or "My Documents", etc.
No version numbering convention exists for MinGW as a whole. Each package has its own version number, and the installer version number does not correlate, in any way, with the version number of any individual package which it installs.
The preferred installation target directory is C:\MinGW
The preferred installation method is using the automated installer tool. While a manual installation is possible, we do not reccommend it. Instructions are provided below if you really want to risk it.
After installation you will need to perform some additional tasks yourself to ensure your MinGW applications will run. Most importantly, you will need to make changes to your PATH environment variable. Be careful: there are two PATH variables which can be changed, and changing the wrong one can have significant consequences. Instructions for changing the correct PATH variable are provided below.
You will also need to ensure you specify the correct installation target directory to the MinGW environment. While it is possible to install MinGW to a location other than C:\MinGW (ie on a different drive), you must ensure that the MinGW environment knows where it is located. Instructions for doing this are also provided below.
Site maintenance completed May 25th, 2012 at 12:38 UTC

There are various activities that require willing helpers who have a few minutes to spare each week. Below is a list of a few of those things you can help us with.
This is not an exhaustive list there are plenty of other things we do. If you would like to help let us know via the mingw-users@lists.sourceforge.net mail list.
Recent comments
2 years 16 weeks ago
2 years 16 weeks ago
2 years 49 weeks ago
2 years 49 weeks ago
2 years 49 weeks ago
2 years 49 weeks ago
2 years 49 weeks ago
2 years 49 weeks ago
2 years 50 weeks ago
3 years 5 weeks ago