MSYS2 is recommended over MinGW
The GNU compilers (gcc, g++ and gfortran) and GNU Make are available using MinGW for native Windows:
Download MinGW-w64 compilers and install to “C:/mingw” using:
This also installs GNU
make at “C:/mingw/bin/mingw32-make.exe”.
Add “c:/mingw/bin” to your PATH under Control Panel → System → Advanced.
For convenience, symlink
cd c:/mingw/bin mklink make.exe mingw32-make.exe
You may need to add user permission to create symbolic links.
CMake on Windows is often used as well.