惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Darknet – Hacking Tools, Hacker News & Cyber Security
V
Vulnerabilities – Threatpost
Cloudbric
Cloudbric
G
GRAHAM CLULEY
S
Securelist
Schneier on Security
Schneier on Security
Help Net Security
Help Net Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Project Zero
Project Zero
Spread Privacy
Spread Privacy
P
Privacy International News Feed
C
Cyber Attacks, Cyber Crime and Cyber Security
Cisco Talos Blog
Cisco Talos Blog
T
Tailwind CSS Blog
博客园_首页
有赞技术团队
有赞技术团队
Simon Willison's Weblog
Simon Willison's Weblog
Stack Overflow Blog
Stack Overflow Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Latest news
Latest news
T
Tor Project blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Attack and Defense Labs
Attack and Defense Labs
www.infosecurity-magazine.com
www.infosecurity-magazine.com
O
OpenAI News
J
Java Code Geeks
T
Tenable Blog
K
Kaspersky official blog
AWS News Blog
AWS News Blog
S
Security @ Cisco Blogs
The GitHub Blog
The GitHub Blog
T
Threatpost
月光博客
月光博客
H
Heimdal Security Blog
Security Latest
Security Latest
The Hacker News
The Hacker News
Y
Y Combinator Blog
A
Arctic Wolf
Apple Machine Learning Research
Apple Machine Learning Research
C
Cisco Blogs
美团技术团队
Microsoft Security Blog
Microsoft Security Blog
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
C
CERT Recently Published Vulnerability Notes
D
Docker
Google Online Security Blog
Google Online Security Blog
D
DataBreaches.Net
V
Visual Studio Blog
H
Help Net Security

博客园 - CrunchYou

VMWare虚拟机Bridged类型网卡ping不通的原因和解决办法 CentOS以及Oracle数据库发展历史及各版本新功能介绍, 便于构造环境时有个对应关系 virtio-blk简介[转] UML基础与Rose建模实训教程 实现阶段, 详细设计, 编码过程中的控制与管理 应用系统部署后远程备份 POSIX正则表达式 修改msde登录方式,设置sa密码为空 windows脚本调用批处理 诗经 全文 转:ADO.NET连接字符串 MindProject R6025解决 颜色的搭配适用,摘自某论坛 准确理解SO_REUSEADDR [转]UDP穿透NAT的原理与实现(UDP“打洞”原理) [转载]QQ空间技术架构之深刻揭密 Eclipse快捷键大全(转载) openssl的编译 - linux log4cxx编译过程–linux
boost编译过程 -- linux
CrunchYou · 2013-04-27 · via 博客园 - CrunchYou

CentOS 6.3 gcc 4.4.6 boost_1_53_0

boost编译过程很简单
1 #./bootstrap.sh --> 会生成bjam和b2这两个编译工具
2 #./b2 --> OK了. 生成的lib在./stage/lib下. 生成了static, runtime-lib=share, release的库.
3 将/usr/local/boost/boost_1_53_0/stage/lib设置lib搜索路径
  方法1: --> vi /etc/ld.so.conf 增加/usr/local/boost/boost_1_53_0/stage/lib
  方法2: --> vi $HOME/.bash_profile 增加export $LD_LIBRARY_PATH = /usr/local/boost/boost_1_53_0/stage/lib:.:$LD_LIBRARY_PATH

///////////////////////////
更多编译参数: ./b2 --help
例如:

./b2 stage --stagedir=/usr/local/boost/boost_1_53_0/stage/static/mtd --layout=versioned --build-type=complete variant=debug link=static threading=multi

./b2 stage --stagedir=/usr/local/boost/boost_1_53_0/stage/multi-debug variant=debug threading=multi

./b2 stage --stagedir=/usr/local/boost/boost_1_53_0/stage/multi-release variant=release threading=multi

详细解释, 看帮助准确一些.