我该如何去code Boost库命名? [英] How can I decode the boost library naming?

查看:175
本文介绍了我该如何去code 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 - multitheaded,用得到它的bjam线程=多

  • 取值 - 的bjam运行时链接=静态

  • 先按g - 使用标准和运行支持库的调试版本。 什么的bjam开关???

  • D - 调试的bjam变异=调试

  • mt - multitheaded, get it with bjam threading=multi
  • s - bjam runtime-link=static
  • g - using debug versions of the standard and runtime support libraries. what bjam switch???
  • d - debug bjam 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.

推荐答案

请参阅的升压入门窗口部分6.3命名和<一个href=\"http://www.boost.org/doc/libs/1_42_0/more/getting_started/unix-variants.html#library-naming\">section 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 the -mt and d are

-mt线程标记:表示该库是多线程启用内置支持。不支持多线程构建库可通过缺失 -mt 的标识。

-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标签:EN $ C影响库与其它编译code $的互操作性细节CS。对于每一个这样的特征,一个字母被添加到标记

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

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)

这篇关于我该如何去code Boost库命名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆