./build_dist.sh
./bjam --without-python --toolset=gcc install
或者
./bootstrap.sh
./bjam --layout=versioned --build-type=complete --prefix=/home/test/boost --toolset=gcc install
指定编译32bit/64bit需加选项:
address-model=32 或者 address-model=64
本文介绍Boost库的编译及安装过程,包括使用build_dist.sh与bootstrap.sh脚本的方法,以及如何指定编译目标为32位或64位系统。
./build_dist.sh
./bjam --without-python --toolset=gcc install
或者
./bootstrap.sh
./bjam --layout=versioned --build-type=complete --prefix=/home/test/boost --toolset=gcc install
指定编译32bit/64bit需加选项:
address-model=32 或者 address-model=64
1975
6591
22
492

被折叠的 条评论
为什么被折叠?