[desktop-discuss] Building boost with Sun C
Stefan Teleman
stefan.teleman at gmail.com
Fri Oct 5 12:06:32 PDT 2007
On 10/5/07, Yadira <ykcruces at hotmail.com> wrote:
> I don't understand very well, I have been trying build the boost libraries with the library standard c++ (stdlibc++) but i don't get it. I modified the sunpro-tools.jam file to i don't use stlport, but i get ann error:
>
> It's possible build boost with stdlibc++ in sun solaris or not? if it's how?
If you are trying to build Boost with Sun Studio, you will not be able
to use libstdc++, because that library is the GNU Standard C++
Library. It is binary incompatible with Sun Studio.
There are several options:
1. Use STLport (which i understand you don't want to do).
2. Use libCstd.so.1 delivered with Solaris. This library comes with
some inherent limitations. It is possible to build Boost with
libCstd.so.1/libCrun.so.1, but it requires a lot of manual changes to
Boost code.
3. Download the RogueWave/Apache Standard C++ Library:
http://incubator.apache.org/stdcxx/
It builds fine with Sun Studio 12. You should consult the Sun Studio
bug database for the library at:
http://issues.apache.org/jira/secure/IssueNavigator.jspa?requestId=12311374
There is at least one patch which is required in order to avoid a
Studio 12 ube assertion.
4. You can build Boost with Studio 12 and the Apache Standard C++ Library.
--Stefan
--
Stefan Teleman
KDE e.V.
stefan.teleman at gmail.com
More information about the desktop-discuss
mailing list