Compiling with MinGW for Win32

This section covers the MinGW gcc compiler for the Win32 platform. This is a port of the GNU gcc compiler, and with a bit of effort, it can be used to compile and run GTK+ and MySQL client applications. You will have to download and install several * .zip or * .tar.gz files. The gcc command line has to be structured correctly, but it is possible.

What Is MinGW?

For our purposes, MinGW is “gcc for Windows.” That is all that will be used of it in this context, but in truth, that is selling it short. In a larger context, it is a full set of GNU tools that have been ported to the Win32 environment.

MinGW is the “Minimalist GNU for Windows” port of the gcc compiler. Its biggest selling point is that it allows the developer ...

Get MySQL Building User Interfaces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.