【问题标题】:How do I specify 64-bit machine architecture when building boost libraries with bjam on solaris?在 solaris 上使用 bjam 构建 boost 库时如何指定 64 位机器架构?
【发布时间】:2010-06-29 17:05:53
【问题描述】:

在 solaris 上使用 bjam 构建 boost 库时如何指定 64 位机器架构?

【问题讨论】:

    标签: c++ boost build 64-bit bjam


    【解决方案1】:

    不是一个真正的答案,只是一个注释 - Sun 编译器是 boost 一直遇到的问题。仅支持最近的版本,您需要 STLport。看看herehere

    您可能想要使用模块语法的[compiler options] 部分。

    编辑:

    发现 this specific link 告诉这应该可以工作:

    bjam toolset=sun stdlib=sun-stlport address-model=64 stage
    

    毫无疑问,它需要 Sun Studio 12。

    【讨论】:

    • 感谢您的快速回复。如果这样更好/更容易,我也有 gcc。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-12-17
    • 2014-04-10
    • 1970-01-01
    • 2010-12-04
    • 1970-01-01
    相关资源
    最近更新 更多