gonutz / mingw

GCC for Windows, Minimalist GNU for Windows, both 32 and 64 bit versions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo contains MinGW in 32 and 64 bit versions.

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=mingw\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.

About

GCC for Windows, Minimalist GNU for Windows, both 32 and 64 bit versions.


Languages

Language:C 49.7%Language:C++ 19.7%Language:Roff 18.3%Language:Python 10.5%Language:Tcl 1.5%Language:Makefile 0.1%Language:Shell 0.1%Language:Fortran 0.1%Language:Perl 0.0%Language:Batchfile 0.0%