从Boost文档在http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html#library-naming,惯例是:
-mt线程标记:表示该库是在多线程启用内置支持。没有多线程支持的库可以通过缺少-mt来识别。
-d ABI标记:对影响库与其他编译代码的互操作性的细节进行编码。对于每一个这样的特征,一个字母加入到标签:
Key Use this library when:
s linking statically to the C++ standard library and compiler runtime support libraries.
g using debug versions of the standard and runtime support libraries.
y using a special debug build of Python.
d building a debug version of your code.
p using the STLPort standard library rather than the default one supplied with your compiler.
n using STLPort's deprecated “native iostreams” feature.
例如,如果你建立你的代码的调试版本为使用静态运行时库的调试版本,并在STLPort的标准库“本地iostreams“模式,标签将是:-sgdpn。如果以上都不适用,则省略ABI标签。
你有没有试过谷歌“升压库山民党sgd的含义”。第一个链接“Boost lib链接器错误Visual C++ - 堆栈溢出”给出的指针与Mark的答案相同。 – 2010-04-26 20:04:50
是的,我用'命名'而不是'意义'做了类似的事情,在前20个结果中我什么也没找到。帮助页面很好地解释了它的含义,但它并未指定bjam开关如何改变它们。 – sorin 2010-04-27 08:23:02