Windows MinGW Manager和gcc安装
下载安装mingw-get-setup.exe
gcc和make安装
打开MinGW Installation Manager选择mingw32-gcc-g++-bin和mingw32-make-bin,右键Mark for Installation,点击左上Installation->Apply Changes,等待安装完毕
环境变量设置
将MinGW Installation Manager目录下的bin文件夹添加进环境变量path中,同时把bin下mingw32-make.exe拷贝重命名为make.exe
Ctrl+R输入cmd打开控制台,输入
g++ --version
make --version
说明安装成功