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
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
相关文章推荐
- linux 中常用编译参数解析
- Linux下用户操作常用命令
- 【No.2】监控Linux性能25个命令行工具
- 修改/etc/profile文件后不能使用linux命令
- Linux下WebLogic的几个配置文件作用说明
- pthread_create
- linux ssh 中在window 传文件 下载文件 工具
- Linux EMMC子系统分析-初始化流程(转载)
- CentOS_7 OpenWrt Eclipse 环境搭建
- linux xfs文件系统无法用readdir获取dirent文件类型d_type则用stat获取暨stat函数讲解
- linux 经典命令汇集
- 解决centos联网问题
- SSMTP—让Linux系统从Office 365发送邮件
- 自学Linux命令的四种方法
- Linux常用命令(二)
- linux
- 虚拟机安装centos 7
- Linux内核NAPI机制分析
- Linux 内核中断内幕
- Centos SSH和FTP配置