Mingw32在Windows下的配置
我的Mingw32是从dev-cpp里截出来的,在VIsta下环境变量这样设置:
首先 set mingw32=D:\mingw32
PATH变量:set PATH=%PATH%;%mingw32%\bin;%mingw32%\lib\gcc-lib\mingw32\3.2.3
C_INCLUDE_PATH变量:set C_INCLUDE_PATH=%mingw32%\include;%mingw32%\lib\gcc-lib\mingw32\3.2.3\include
LIBRARY_PATH变量:set LIBRARY_PATH=%mingw32%\lib;%mingw32%\lib\gcc-lib\mingw32\3.2.3
CPLUS_INCLUDE_PATH变量:set CPLUS_INCLUDE_PATH=%mingw32%\include\c++\3.2.3;%mingw32%\include\c++\3.2.3\backward;%mingw32%\include
OK了。