Building Fortification on Solaris

Will Boost be fully integrated in Solaris?

I would like to know if anyone has success with this (especially Proto / Spirit) before I go and pay for a support contract to fix Sun Studio 12.2 to the last. I get a few errors, and some believe that they were resolved in patches, but it’s not cheap to pay Oracle for support, so I would rather hope that it will work before I do it.

Right now I'm just trying to use cpp-netlib on Solaris and decode some JSON downloaded via HTTP using the Boost Property Tree. It works fine on Mac OS X - so I hope I can use the same code on Solaris.

+4
source share
2 answers

If you look at http://www.boost.org/users/history/version_1_48_0.html , you will see two lists of compilers. The "primary" compilers are those with which the release is tested. There are no Solaris based compilers.

The second list is what the trunk is being tested with (more or less daily). This list contains the Sun 5.10 compiler.

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

However, it seems that all the blow tests do not work in this compiler, so I will not hope.

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

+2
source

I compiled boost 1.54.0 on Solaris using the Apache stdcxx 4.2.1 C ++ library. There are several differences and the CLI recipe, but it is 99% created :) If I find a suitable place to load diff, I will update this.

Intel Solaris 10 and 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... 

Packages can be found in my package archive:

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 
+2
source

Source: https://habr.com/ru/post/1209132/


All Articles