GNU libraries and MinGW

Downloading

At the time of this writing, the "stable" packages needed are:

It is also a good idea to download:

Installing

To install MinGW, simply double-click on MinGW-3.1.0-1.exe. I'll assume you install it in "C:\MinGW". Then, install MSYS by double-clicking on MSYS-1.0.9.exe, I'll assume you install it in "C:\msys\1.0". When asked for post-install configuration, answer yes to all questions and tell it mingw is in "c:/MinGW".

After that, copy (and replace) the file config.site to "C:\msys\1.0\etc". This file is largely inspired by the recommended compilation flags of GnuWin32.

Then edit "C:\msys\1.0\etc\profile" and add 'export CONFIG_SITE=/etc/config.site' just before 'export MAKE_MODE=unix'.

Finally, create the file "C:\msys\1.0\share\aclocal\dirlist" and put '/usr/local/share/aclocal'.

Installation is now done and you can start your development environment by clicking on "Start/Programs/MinGW/MSYS/msys" or by launching "C:\msys\1.0\msys.bat".