您的位置:首页 > 其它

boost 编译 32 bit & 64 bit

2013-10-11 20:35 363 查看
原文地址: 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位方法相同,不过没有执行过
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: