/mingw32

GCC for Windows, Minimalist GNU for Windows, 32 bit version.

Primary LanguageC

This repo contains MinGW in the 32 version.

The GCC version is 7.3.0.

You can use this repo as a Git submodule to allow Windows users of your software to easily build your C/C++ project without additional downloads. Include a build.bat or a make.bat in your project and in it, prepend your submodule MinGW's bin folder to the PATH like this:

setlocal
set PATH=mingw32\bin;%PATH%
gcc ...

Prepending it, rather than appending it, makes sure that our own MinGW tools are used when building, not other tools of the same name that are on the PATH as well. setlocal makes sure that the PATH variable does not escape into the outer scope, in case you call this script from another one which needs the original PATH afterwards.