Chris Ridd wrote:
>
> On 12 May 2009, at 14:53, Gilles Dauphin wrote:
>
>>
>>
>>> From: Harim Garcia Lamont <harim at terra.com.mx>
>>> To: tools-compilers at opensolaris.org
>>>
>>> Hi, im new with Makefiles and configure scipts. I tried with 
>>> sunstudio compilers. I
>> checked r-project's installing manual and they specify that:
>>>
>>> CC="cc -xc99"
>>>     CPPFLAGS=-I/opt/csw/include
>>>     CFLAGS="-O -xlibmieee"
>>>     F77=f95
>>>     FFLAGS=-O4
>>>     CXX=CC
>>>     CXXFLAGS=-O
>>>     FC=f95
>>>     FCFLAGS=$FFLAGS
>>>     LDFLAGS=-L/opt/csw/lib
>>>     SHLIB_CXXLDFLAGS="-G -lCstd"
>>                            ^^^^^^
>>                            I think you will have problem with some 
>> R-packages.
>>                            FYI , I use -library=stlport4
>
> Is there any reason this library couldn't be more of a default in 
> OpenSolaris/Sun Studio? It would seem to improve compatibility with 
> 3rd party C++ sources that assume greater support of the C++ standard 
> than is provided by Sun's libCstd.
I forget the page, but it's planned to have apache's stdcxx packaged for 
OpenSolaris.  Here's our package if it helps you build it  for now.

http://hg.osunix.org/osunix-overlay/src/tip/sys-libs/stdcxx/stdcxx-4.2.1.ebuild

./C

Reply via email to