Compiling Boost

As of this writing, we are using Boost 1.46.0.


Nothing special, just followed the directions. Did this on a 32-bit install of Ubuntu. Maybe there is a way to make this more "universal"?

./ --prefix=build
./bjam install 


Built according to the instructions at to get a 32-bit and 64-bit intel universal binary:

./ --prefix=build
./bjam architecture=x86 address-model=32_64
./bjam architecture=x86 address-model=32_64 install 


Useful info at . So, launch the Visual Studio 2008 Command Prompt, cd into the Boost download and do this:

bootstrap.bat --prefix=build
bjam install --toolset=msvc variant=release link=static threading=multi runtime-link=static

It looks like Windows doesn't understand the "prefix" option, and the builds just end up in C:\Boost. But it seems to at least build. But...

Unfortunately, on Windows, you cannot link the debug version to a release version of boost. So you have to build the debug version of Boost too.

bjam install --toolset=msvc variant=debug link=static threading=multi runtime-link=static