[Top][All Lists]

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

Re: PATCH fixups for proper setting of archive_cmds_need_lc

From: Robert Boehne
Subject: Re: PATCH fixups for proper setting of archive_cmds_need_lc
Date: Sun, 12 Jan 2003 23:04:23 -0600


In this case I treated the "C" tag specially because "-lc" is
the "C" runtime library.  The whole point of the "archive_cmds_need_lc"
being in libtool is because it often (in C) links with ld, which
then sometimes requires -lc being added.  In Libtool's tagged
the compiler driver is always used, and that is the mechanism by which
the runtime libraries are added.  At least that is what I think this
is for, please correct me if I'm wrong. ;)  I would be wrong if there
platforms where the C++ compiler needed an explicit "-lc" to make it
but I don't think this is the case.


Albert Chin wrote:
> On Sun, Jan 12, 2003 at 04:32:27PM -0500, Charles Wilson wrote:
> > Albert Chin wrote:
> >
> > >I disagree with treating the C tag specially. No tag should be treated
> > >any different than another.
> >
> > If you mean this in general (and not just as it relates to this -lc
> > issue), then there's this comment from when I originally folded stuff
> > into the AC_LIBTOOL_POSTDEP_PREDEP function
> >
> >         (AC_LIBTOOL_POSTDEP_PREDEP): new function.
> >         moved the "find hidden library dependencies" code here
> >         from AC_LIBTOOL_LANG_CXX_CONFIG.  Attempted to make it
> >         multi-tag compatible, but currently only CXX calls it.
> Yes, in general. I also know that the C tag is currently treated
> differently. However, I'd like to keep the current special treatment
> to a minimum.
> > I think AC_LIBTOOL_POSTDEP_PREDEP has gotten its shakedown, but there
> > are other changes needed in the "C" codepath before C can be treated
> > like C++/other tags.
> >
> > OTOH, that may be too radical a change to contemplate this "close" to a
> > release.  If we are, in fact, close. <g>
> Actually, now would be a good time.
> --
> albert chin (address@hidden)
> _______________________________________________
> Libtool-patches mailing list
> address@hidden

reply via email to

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