[Top][All Lists]

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

Re: UnixWare -lc fixes

From: Ralf Wildenhues
Subject: Re: UnixWare -lc fixes
Date: Sat, 5 Nov 2005 11:53:23 +0100
User-agent: Mutt/1.5.9i

Hi Tim,

* Tim Rice wrote on Tue, Oct 18, 2005 at 06:43:52PM CEST:
> > On Mon, Oct 17, 2005 at 09:53:29PM -0700, Tim Rice wrote:
> > > On UnixWare and OpenServer 5&6 we never want -lc on the
> > > command line. cc / CC takes care of that for us (and always gets it 
> > > right).
> This has obviously come up before. There is already code there for
> openbsd/freebsd and others. I'm just adding a couple of platforms.
> While it would be nice if all the "broken" packages out there were fixed, 
> it probably won't happen without libtool issuing a big warning message
> when it is invoked with "libtool ...some_options -lc ...some_mode_options".
> And now a question. Looking at libltdl/config/ltmain.m4sh, the code
> in the area I patched (about line 2600) seems to be duplicated down
> at about line 4500. I'm trying to understand why the netbsd and openbsd
> cases are there. I would expect that they have build_libtool_need_lc=no
> and those 2 cases would to nothing. Or is that just cruft?

Nope, it's not cruft, AFAICS.  The point is that installed libtool
libraries (created with, say, older libtool versions) may contain the
`-lc' in dependency_libs, and there we filter those out.  Surely we may
be able to unify both of these crufts, or really fix by adding another
tag variable.  But for now I'll just duplicate the test and appl..

(rest in other thread about this topic :)


reply via email to

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