How can I decode the boost library naming?(如何解码 boost 库命名?)
问题描述
我试图找出 gd 在 boost 库名称中的意思,但我只发现另外两个人正在寻找相同的东西.
I tried to find out that gd means in boost library name and I only found two other people looking for the same thing.
我想它应该是一个明确记录的地方,我想找到它.
I suppose it should be a place where this is clearly documented and I would like to find it.
mt- 多头,使用bjam threading=multis-bjam runtime-link=staticg- 使用标准和运行时支持库的调试版本.什么 bjam 开关???d- 调试bjam variant=debug
mt- multitheaded, get it withbjam threading=multis-bjam runtime-link=staticg- using debug versions of the standard and runtime support libraries. what bjam switch???d- debugbjam variant=debug
我如何控制哪些 bjam 开关控制上述变体?事实上,我唯一无法识别的就是 g.
How do I control what bjam switches controls the above variants? In fact the only one that I wasn't able to identify is the g.
推荐答案
参见 Boost 入门窗口 6.3 节命名和第 6.1 节 Unix 命名
See Boost getting started windows section 6.3 naming and section 6.1 on Unix naming
处理 -mt 和 d 的是
The ones that deal with -mt and d are
-mt Threading tag: indicates that the library was built with multithreading support enabled. Libraries built without multithreading support can be identified by the absence of `-mt`.
-d ABI tag: encodes details that affect the library's interoperability with other compiled code. For each such feature, a single letter is added to the tag as listed in this table:
Key Use this library when (Boost.Build option)
s linking statically to the C++ standard library
and compiler runtime support libraries.
(runtime-link=static)
g using debug versions of the standard and runtime support libraries.
(runtime-debugging=on)
y using a special debug build of Python.
(python-debugging=on)
d building a debug version of your code.
(variant=debug)
p using the STLPort standard library rather than
the default one supplied with your compiler.
(stdlib=stlport)
这篇关于如何解码 boost 库命名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何解码 boost 库命名?
基础教程推荐
- c++ STL设置差异 2022-01-01
- 如何部分禁用 cmake C/C++ 自定义编译器检查 2021-01-01
- 如何在 C++ 中正确使用命名空间? 2022-01-01
- 随机插入/删除的综合向量与链表基准 2022-01-01
- 与 CAS 的原子交换(使用 gcc 同步内置函数) 2022-01-01
- 提升 ASIO 流缓冲 2021-01-01
- 将不可复制的闭包对象传递给 std::function 参数 2021-01-01
- 为什么我们不能使用“虚拟继承"?在 COM 中? 2022-01-01
- 如何更改 SysDateTimePick32 或 CDateTimeCtrl 的背景颜色? 2022-01-01
- C++:获取传递给函数的多维数组的行大小 2021-01-01
