從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