MinGw环境变量

1、下载地址: http://mingw.softonic.cn/ 这是win7能用的一个版本。并不是越新越好
2、配置变量
PATH=D:\MinGW\bin;

LIBRARY_PATH=D:\MinGW\lib;D:\MinGW\lib\gcc\mingw32\4.6.2;

C_INCLUDE_PATH=D:\MinGW\include;D:\MinGW\lib\gcc\mingw32\4.6.2\include;

CPLUS_INCLUDE_PATH=D:\MinGW\include;D:\MinGW\lib\gcc\mingw32\4.6.2\include\c++;D:\ MinGW\lib\gcc\mingw32\4.6.2\include\c++\backward;D:\MinGW\lib\gcc\mingw32\4.6.2\inclu de\c++\mingw32;

你可能感兴趣的:(MinGw环境变量)