[kde-solaris] KDE, The Standard C++ Library, Boost and Apache

Stefan Teleman stefan.teleman at gmail.com
Fri Aug 24 23:18:59 CEST 2007


The Studio 12 default libCstd.so is not 100% compliant with the 
ANSI/ISO C++ Standard, and has trouble building Boost. Boost can be 
built with libCstd.so, but it requires numerous patches, fixes and 
hacks.

KDE4 requires Boost [http://www.boost.org/].

RogueWave has released its implementation of the Standard C++ Library 
+ STL under an Open Source License. This has become a project at 
Apache: http://incubator.apache.org/stdcxx/.

<QUOTE>
The goal of the Apache C++ Standard Library project is to provide a 
free implementation of the ISO/IEC 14882 international standard for 
C++ that enables source code portability and consistent behavior of 
programs across all major hardware implementations, operating 
systems, and compilers, open source and commercial alike.
</QUOTE>

The Apache/RogueWave Standard C++ Library builds smoothly with Sun 
Studio 12, in both 32- and 64- bit. Replacing the original Sun Studio 
12 libCstd.so with the Apache/RogueWave Standard C++ Library is a 
fairly straightforward operation, and is documented in detail here:
 
http://docs.sun.com/app/docs/doc/819-5267/6n7c46dsk?l=en&a=view&q=Replacing+Standard+C%2B%2B+Library

Barring some unforeseen problems in building and testing Boost 1.33.1 
with the Apache/RogueWave STL over the next few days, i am proposing 
using the Apache/RogueWave Standard C++ Library for KDE Solaris.

A permanent side-effect of this library change is that linking against 
Sun's libCstd.so *and* the Apache/RogueWave Standard C++ Library is 
no longer permitted.

--Stefan

-- 
Stefan Teleman			'Nobody Expects the Spanish Inquisition'
KDE e.V.						-Monty Python
stefan.teleman at gmail.com


More information about the kde-solaris mailing list