【发布时间】:2010-06-29 17:05:53
【问题描述】:
在 solaris 上使用 bjam 构建 boost 库时如何指定 64 位机器架构?
【问题讨论】:
标签: c++ boost build 64-bit bjam
在 solaris 上使用 bjam 构建 boost 库时如何指定 64 位机器架构?
【问题讨论】:
标签: c++ boost build 64-bit bjam
不是一个真正的答案,只是一个注释 - Sun 编译器是 boost 一直遇到的问题。仅支持最近的版本,您需要 STLport。看看here 和here。
您可能想要使用模块语法的[compiler options] 部分。
发现 this specific link 告诉这应该可以工作:
bjam toolset=sun stdlib=sun-stlport address-model=64 stage
毫无疑问,它需要 Sun Studio 12。
【讨论】: