I would like to build boost using two different compilers, MinGW and Visual C++ 2010 Express, using bjam:
bjam toolset=gcc,msvc variant=release link=static,share
The directory structure in boost has changed in recent version, I think.
The sources for bjam are in tools/build/v2/engine
. Run build.sh mingw
from that directory using MinGW shell, and it should build bjam.exe and b2.exe and place them in tools/build/v2/engine/ntx86
. Copy b2.exe to the boost root directory. You should then be able to build Visual c++ libraries with b2 toolset=msvc
.
Hope that helps.