您的位置:首页 > 运维架构 > Linux

Linux下编译boost库生成 libboost_thread-mt.a 的方法

2016-06-25 15:44 429 查看
转自:http://blog.csdn.net/langeldep/article/details/8450224

boost库的编译的Properties:属性

  variant=debug|release            Select the build variant

  link=static|shared                    Whether to build static or shared libraries

  threading=single|multi            Whether to build single or multithreaded binaries

  runtime-link=static|shared      Whether to link to static or shared C and C++ runtime.

即使添加了  threading=mulit 还是无法生成  libboost_thread-mt.a , 只会生成  libboost_thread.a 

那只有用 complete 来生成了

./bjam --build-type=complete --layout=tagged
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: