1 在环境变量PATH下添加MINGW的路径C:\Program Files\CodeBlocks\MinGW\bin
校验方式,在窗口模式下执行gcc, 返回no input files错误
C:\Documents and Settings\Administrator>gcc
gcc: fatal error: no input files
compilation terminated.
2 解压boost_1_54_0.zip
3 窗口模式下,进入目录E:\boost_1_54_0\boost_1_54_0\tools\build\v2\build
4 执行命令: build.bat mingw
5 执行命令: copy bin.ntx86\bjam.exe ..\..\..\.
6 执行命令: cd ..\..\..\.
7 执行命令: bjam --toolset=gcc, 执行结束,结果如下:
...failed updating 1 target...
...skipped 2 targets...
...updated 341 targets...