libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solaris C++ Repository Patch


From: Ossama Othman
Subject: Re: Solaris C++ Repository Patch
Date: Fri, 5 Jan 2001 09:26:03 -0800
User-agent: Mutt/1.2.5i

Hi Steve,

On Fri, Jan 05, 2001 at 11:16:11AM -0600, Steve Favor wrote:
> The following patch makes Solaris CC template repositories work with
> libtool.

I believe that all of this stuff is already handled in the libtool CVS
multi-language branch, commonly referred to as the "MLB."  However, I
do have some questions below. 

> +     (pic_flag): Tack tempate_db_flags onto the end of this.  For
> +     Solaris, this makes the PIC flags look like -KPIC -ptrPIC.

I've never needed to use the "-ptrPIC" flag, especially since I didn't
know that it existed.  Is it really needed?  Things seem to work okay
for my software without it.

> +     (archive_cmds): For Solaris using the CC compiler, use CC as $LD
> +     and $AR and change $ARFLAGS to the CC archive options "-xar".
> +     Also, tack "-o" onto the end of $ARFLAGS.  This assumes the
> +     library name is always directly after $ARFLAGS which appears to
> +     always be the case. This causes the old library link to look like
> +     CC -xar -o libfoo.a...

MLB already does this, too.

-Ossama
-- 
Ossama Othman <address@hidden>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8



reply via email to

[Prev in Thread] Current Thread [Next in Thread]