
Please forgive the newbie questions, but I am trying and failing to build boost with MinGW. I've grabbed the CVS sources of boost from the sourceforge anonymous mirror. I've installed MinGW and MinSYS. The MinGW tools are in my path. From the MinSYS console: $ cd ~/boostcvs $ which which c++ /mingw/bin/c++ $ c++ --version c++.exe (GCC) 3.2.3 (mingw special 20030504-1) Just to check that the tools are working: $ cd libs/spirit/phoenix/test $ c++ -I$HOME/boostcvs -o new_test new_test.cpp $ ./new_test /////////////////////////////////////////////////////////////////////////////// Tests concluded SUCCESS!!! /////////////////////////////////////////////////////////////////////////////// Now trying to do something similar using bjam: $ cd ~/boostcvs/libs/test/build $ bjam '-sTOOLS=mgw' CALL "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin\VCVARS32.BAT" >nul "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin\cl" /Zm800 -nologo /EHsc -c -DBOOST_TEST_NO_AUTO_LINK=1 /Z7 /Od /Ob0 /EHsc /GR /MTd /Op /Zc:forScope /Zc:wchar_t -I"..\..\..\bin\boost\libs\test\build" -I"d:\MinSYS\1.0\home\Angus\boost_cvs" -Fo"..\..\..\bin\boost\libs\test\build\libboost_unit_test_framework.lib\vc7.1\debug\runtime-link-static\threading-multi\unit_test_main.obj" -Tp"d:\MinSYS\1.0\home\Angus\boost_cvs\libs\test\build\../src/unit_test_main.cpp" ...failed vc-C++ ..\..\..\bin\boost\libs\test\build\libboost_unit_test_framework.lib\vc7.1\debug\runtime-link-static\threading-multi\unit_test_main.obj... vc-C++ ..\..\..\bin\boost\libs\test\build\libboost_unit_test_framework.lib\vc7.1\debug\runtime-link-static\threading-multi\supplied_log_formatters.obj The system cannot find the path specified. The system cannot find the path specified. [ snip all other, similar messages ] For the life of me I can't see why bjam is trying to build the VC++ target. I can't even run $ bjam --help because it just does the same thing, trying and failing to build stuff with VC++. I have also tried running from the top level boost directory and with the '-sMINGW_ROOT_DIRECTORY=/d/mingw' command line option to bjam, all to no avail. (From my understanding of the docs at http://www.boost.org/tools/build/v1/mingw-tools.html, that shouldn't be necessary.) I have changed the TOOLS name to 'mingw' rather than 'mgw'. Again , no dice. Finally, in desperation, opening up a DOS prompt and repeating the exercise. Nope. Same result. Can anyone help me out? Regards, Angus