GNU bug report logs - #9535
sunpro and -library=stdcxx4

Previous Next

Package: libtool;

Reported by: Marc Glisse <marc.glisse <at> inria.fr>

Date: Sat, 17 Sep 2011 18:06:01 UTC

Severity: normal

Done: Gary V. Vaughan <gary <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Marc Glisse <marc.glisse <at> inria.fr>
To: Peter O'Gorman <peter <at> pogma.com>
Cc: 9535 <at> debbugs.gnu.org
Subject: bug#9535: sunpro and -library=stdcxx4
Date: Mon, 3 Oct 2011 20:11:00 +0200 (CEST)
On Mon, 3 Oct 2011, Peter O'Gorman wrote:

> On 09/17/2011 05:19 AM, Marc Glisse wrote:
>> Hello,
>> 
>> there was a commit in 2006 to support the sunpro option -library=stlport4:
>> 
>> 2006-08-01 Albert Chin <china <at> thewrittenword.com>
>> 
>> * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS) [ solaris ]:
>> Don't set $postdeps to "-lCstd -lCrun" if
>> "-library=stlport4" set in CXXFLAGS as stlport4 C++
>> library incompatible with Cstd C++ library. Use
>> '-library=Cstd -library=Crun' instead of '-lCstd -lCrun'.
>> 
>> 
>> This compiler now also supports one more alternative (solaris-only):
>> -library=stdcxx4
>> I assume it should receive the same treatment as -library=stlport4 ?
>
> Is this all that's required?

I would guess so, but I don't currently have a solaris 11 handy to check. 
In any case it seems rather safe... (if user specifies -library=stdcxx4, 
don't add -library=Cstd which is incompatible)

The option is documented here:
http://download.oracle.com/docs/cd/E18659_01/html/821-1383/gkcai.html

-- 
Marc Glisse




This bug report was last modified 10 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.