Documentation Home
>
Sun Studio 12 Update 1:C++ 用户指南
>
第 4 部分 附录
>
附录 A C++ 编译器选项
>
A.2 选项参考
>
A.2.47 –llib
>
A.2.47.1 交互
> 警告
Sun Studio 12 Update 1:C++ 用户指南
Previous
: A.2.46 –Lpath
Next
: 另请参见
警告
为了确保正确的库链接顺序,必须使用
-mt
(而不是
-lthread
)与
libthread
链接。
Previous
: A.2.46 –Lpath
Next
: 另请参见
© 2010, Oracle Corporation and/or its affiliates