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

来源:互联网 发布:清除mac上的个人信息 编辑:程序博客网 时间:2024/06/07 03:15



转自: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


0 0
原创粉丝点击