Skip to content
/ mingw Public

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

Notifications You must be signed in to change notification settings

gonutz/mingw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published