Windows系统安装mingw

MinGW: A native Windows port of the GNU Compiler Collection (GCC), with freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All of MinGW’s software will execute on the 64bit Windows platforms.

mingw下载地址:https://sourceforge.net/projects/mingw/
Windows系统安装mingw_第1张图片

安装
Windows系统安装mingw_第2张图片
选择安装目录,点continue
Windows系统安装mingw_第3张图片
正在下载安装管理器
Windows系统安装mingw_第4张图片
Windows系统安装mingw_第5张图片
打开安装管理器,选择mingw32-base(编译c语言程序)和mingw32-gcc-g++(编译c++语言)。msys是类unix环境终端,没有必要选择,但是我选上了
Windows系统安装mingw_第6张图片
点击installation,apply changes,进行安装
Windows系统安装mingw_第7张图片
点击apply
Windows系统安装mingw_第8张图片
开始下载包
Windows系统安装mingw_第9张图片
安装完成
Windows系统安装mingw_第10张图片
Windows系统安装mingw_第11张图片
系统,高级系统设置,环境变量。将mingw安装目录的bin文件夹添加到系统环境变量path中。
Windows系统安装mingw_第12张图片
打开cmd,测试mingw的安装
Windows系统安装mingw_第13张图片
如果安装msys,则在mingw安装目录下有msys目录,msys.bat启动msys1.0
Windows系统安装mingw_第14张图片

你可能感兴趣的:(Windows,windows,linux,c++)