c++ - 在 solaris 上使用 bjam 构建 boost 库时如何指定 64 位机器体系结构?

标签 c++ boost build 64-bit bjam

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

最佳答案

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

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

编辑:

找到 this specific link告诉这应该工作:

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

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

关于c++ - 在 solaris 上使用 bjam 构建 boost 库时如何指定 64 位机器体系结构?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3143000/

相关文章:

python - 当我在 macOS 上使用 py++ 生成 boost.Python 包装器时,我收到了关于 std::string 的错误?

vue.js - Vue 和 Webpack 中的动态导入路径

java - 在 jar 文件中设置 java.library.path

c++ - 使用字符串的任何缺点(C++)

c++ - C++ 模板函数中的反向调用

c++ - 编写多个 'for' 循环的干净方法

c++ - 如何使用 odeint 处理不连续性

c++ - 后期不可复制成员初始化