Building a custom MinGW/MSYS development environment
Introduction
. Index .. Base system .. Local packages .. GTK+ .. Qt .. Tools .. Projects .. Home .

This guide describes how to build a custom MSYS/MinGW development environment on windows. The goal is to create a set of matching libraries that can be used to build your own programs, with SDL, Qt 4 or GTK 2.

The guide was inspired by the Linux from Scratch way of working. If you have experience with building packages on Linux, building an MSYS/MinGW environment should feel familiar.

The directory structure emulates a traditional UNIX system with msys installation and the mingw compiler as base system in /usr, additional binaries in /opt and our own packages in /local32 and/or /local64.

This is a work in progress.

Last updated: 2014-01-20

Special thanks go to maci, for the nice examples in his Quake2World mingw scripts.

Part 1: Setting up the base system
Part 2: Building local packages
Part 3: Building GTK+
Part 4: Buildling Qt
Part 5: Building extra tools
Part 6: Building projects

Web References

MinGW home page
MSYS wiki
MinGW downloads on SourceForge
TDM's Experimental GCC/MinGW32 Builds
MinGW Distro - nuwen.net
Wget for win32
MinGW/MSYS for Tux Paint
Gtk for win32
Compiling Gtk 2 for windows