bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: libtool and -lc


From: Ralf Wildenhues
Subject: Re: libtool and -lc
Date: Sun, 6 Nov 2005 22:01:28 +0100
User-agent: Mutt/1.5.9i

Hi Bruno,

* Bruno Haible wrote on Fri, Nov 04, 2005 at 07:28:01PM CET:
> Tim Rice wrote:
> >
> > When using libtool, there should not be any -lc on the link lines.
> 
> Where is this documented?

Even if it isn't documented: libtool is supposed to hide system-specific
issues with library creation[1].  This certainly qualifies..

> > Libtool takes care of -lc if needed.
> 
> On BeOS, it doesn't.

 .. given the specific situation for which it may be necessary.
Reporting such bugs against Libtool instead of using workarounds helps
with other packages as well, which in turn will help users of the system
involved.

Now, what is the specific BeOS problem here?  I can't find a description
on this list, nor in Libtool archives, except that "-lc" is explicitly
removed there by libtool, even the one you happen to add.

OTOH, the ChangeLog entries I could find regarding the change in
gettext:

- lib/Makefile.am 2002-01-07
| Avoid link error on AIX.

- gettext-runtime/intl/ChangeLog 2002-01-05:
| 
|         * Makefile.in (libintl.la): Add -lc. Needed on AIX.

all hint to an issue with AIX which has long since been fixed; CVS
branch-1-5 and HEAD Libtool have build_libtool_need_lc=yes on AIX.

Cheers,
Ralf

[1] Surely, the -no-undefined stupidity is a baby already thrown out,
and sucks, but there is no reason to add any more of those.




reply via email to

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