在Solaris上构建Boost
Building Boost on Solaris
Boost将在Solaris上完全构建吗?
我想知道是否有人在这方面取得了成功(特别是Proto/Spirit),然后我去支付支持合同以将Sun Studio 12.2补丁到最新版本。我得到了一些错误,有些看起来已经在补丁中解决了,但是向Oracle支付支持费用并不便宜,所以我宁愿希望它能在我做之前工作。
现在,我只是想在Solaris上使用cpp-netlib,并使用Boost属性树解码HTTP上获取的一些JSON。它在Mac OS X上运行良好-所以我希望我可以在Solaris上使用相同的代码。
如果查看http://www.boost.org/users/history/version_1_48_0.html,将看到两个编译器列表。"主"编译器是对发行版进行测试的编译器。那里没有基于solaris的编译器。
第二个列表是对主干进行测试的对象(或多或少每天一次)。Sun编译器v5.10在这个列表中。
现在,您可以查看http://www.boost.org/development/tests/trunk/developer/summary.html,并找到该编译器的测试结果。从那里,您可以找到Sun编译器的列,并检查哪些测试失败(以及原因)。
然而,看起来在这个编译器上几乎所有的精神测试都失败了,所以我不抱太大希望。
…后来……但是,由于您使用的是与此不同的编译器,因此您可能希望查看http://www.boost.org/development/running_regression_tests.html,它向您展示了如何使用您的安装运行回归测试。然后您可以看到boost在编译器中的工作效果。
我在Solaris上编译了boost 1.54.0,使用Apache stdcxx 4.2.1 c++库。有一些差异涉及和CLI配方,但它是99%建成:)如果我找到一个合适的地方上传差异,我会更新这个。
Intel Solaris 10 &11
[...]
common.copy /usr/local/lib/libboost_timer.a
common.copy /usr/local/lib/libboost_wave.a
...failed updating 53 targets...
...skipped 37 targets...
...updated 10652 targets...
SPARC 10
[...]
common.copy /usr/local/lib/libboost_timer.a
common.copy /usr/local/lib/libboost_wave.a
...failed updating 49 targets...
...skipped 42 targets...
...updated 10649 targets...
这些软件包可以在我的软件包存档中找到:
http://www.ibiblio.org/pub/packages/solaris/sparc/boost.1.54.0.SPARC.64bit.Solaris.10.pkg
boost.1.54.0.i86pc.Solaris.10.pkg
boost.1.54.0.i86pc.Solaris.11.pkg
- 尝试将 boost::stacktrace 添加到 CMake 项目时出现构建错误
- 如何在 Linux for Windows 上通过 MinGW 构建静态 ICU 的 Boost
- 在 Boost::fiber 中引发的BOOST_ASSERT故障 Visual Studio "Debug" 构建
- 虽然我添加了boost库,但Eclipse并不是用C++构建的.为什么
- 如何使用VS 2015构建Boost 1.44
- 无法从 bazel 使用 boost/iostream 构建项目包
- 使用 python3 为 msvc 构建 boost python - 链接器错误
- C++ CMake 构建错误:未定义对"boost::throw_exception(std::exception const&)"的引用
- BOOST :: MUTEX版本与调试构建
- 将Windows上32位和64位的Boost构建到同一文件夹中
- 当我使用 boost 构建绝对路径时,无限递归
- 当我使用 boost 构建 CAGL 演示时,如何修复错误 1001
- 使用boost构建Python扩展
- boost构建中的多个构建目标
- 在Windows上使用SSL和预构建Boost构建Mongo-Cpp驱动程序
- 使用boost构建NodeJ模块(或任何其他库)
- 使用Boost构建单元测试时发生链接器错误
- 是否可以使用boost构建并发进程间消息队列
- 使用Boost.构建和提升.测试链接器错误
- 当使用(自定义)GCC 4时,Boost构建无法进行c++ 11特性检查.X或5