原文地址: http://blog.sina.com.cn/s/blog_4b055d6b01016nlp.html
编译32位:
1.修改 bootstrap.sh指定如下参数
TOOLSET="g++"
PREFIX=/home/koower/boost_1_49
LIBDIR=/home/koower/boost_1_49/lib
2.执行 ./bootstrap.sh
3.编译和安装
./bjam cflags=-m32 cxxflags=-m32 address-model=32 threading=multi architecture=x86 instruction-set=i686 stage install
64位与32位方法相同,不过没有执行过