Alexander Dreyer wrote:
> Dear Dave,
>> From
>> http://developers.sun.com/solaris/articles/cmp_stlport_libCstd.html
>> I read, that one might have to build with  -library=stlport4 .
>>
>> I'll try it out.

FWIW,

the HP C++ compiler for HP-UX has exactly the same issue as the Sun Studio 
compiler -  shipping with two libraries, defaulting to an old one, and 
requiring 
a compiler option (in that case -AA) to use the newer library.

http://docs.hp.com/en/14487/faq.htm

Like with the Sun compiler, you can't mix the libraries - all C++ code has to 
be 
built with either the modern or the old library - not a combination of the two.

At some point, every package in Sage which uses C++ will need to be compiled 
with -library=stlport4 (Sun Studio), -AA (HP's C++ compiler on HP-UX), or 
perhaps other flags for other compilers.

I assume this is not necessary for g++, as backward compatibility was not a 
consideration, though perhaps the GCC developers have found a trick neither Sun 
or HP could.

Dave

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to