[Top][All Lists]

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

Re: Libtool drops -static from LDFLAGS?

From: Ossama Othman
Subject: Re: Libtool drops -static from LDFLAGS?
Date: Tue, 8 May 2001 09:05:08 -0700
User-agent: Mutt/1.2.5i

Hi Alexandre,

On Tue, May 08, 2001 at 07:49:30AM -0300, Alexandre Oliva wrote:
> > Libtool drops the user supplied "-static" flag (e.g. in $LDFLAGS) from
> > the link command.  Is this what we want?
> Yep.  To really force static linking, use -all-static.  -static tells
> libtool to *prefer* static libraries, not to *require* them.

Right, but the problem is that is it prevents users who "know what
they're doing" from using gcc's "-static" option.  It seems to me that
libtool shouldn't do this sort of "filtering."

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]