I built Boost for VS2013, 64-bit architecture using both b2.exe
and bjam.exe
. According to Boost documentation, b2
must be used over bjam
. The differences I notice are:
Also I mentioned different build directory using the build option --build-dir
, but what is the use of this directory? It consists of .obj, .rsp along with respective .dll and .lib files. Can this directory be deleted?
Here are the commands I used to build Boost:
b2:
b2 toolset=msvc-12.0 --build-type=complete architecture=x86 address-model=32 install --build-dir=<build-dir> stage --stagedir=<stage-dir> -j2
bjam:
bjam stage --stagedir=<stage-dir>
b2 and bjam are identical files except for their names. The different results are a consequence of calling them with different arguments.
About the preferred name: calling ./b2 --help
and ./bjam --help
both yield the name b2
.