Building Boost on Solaris

落爺英雄遲暮 提交于 2019-12-05 13:06:58

If you look at http://www.boost.org/users/history/version_1_48_0.html, you'll see two lists of compilers. The "primary" compilers are those that the release is tested against. There are no Solaris-based compilers there.

The second list is what the trunk is tested against (on a more or less daily basis). The Sun compiler v 5.10 is on that list.

Now, you can look at http://www.boost.org/development/tests/trunk/developer/summary.html, and find the test results for that compiler. From there, you can find the column for the Sun compiler, and check which tests are failing (and why).

However, it looks like pretty much all the spirit tests are failing on that compiler, so I wouldn't hold out much hope.

... Later ... However, since you are using a different compiler than that, you might want to look at http://www.boost.org/development/running_regression_tests.html, which shows you how to run the regression tests using your installation. Then you can see how well boost works with your compiler.

I've compiled up boost 1.54.0 on Solaris, using the Apache stdcxx 4.2.1 C++ library. There's a few diffs involved and a CLI recipe, but it's 99% built :) If I find a suitable place to upload the diffs I'll update this.

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...

The packages can be found on my packages archive at:

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
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!