[Top][All Lists]

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

Re: UnixWare -lc fixes

From: Albert Chin
Subject: Re: UnixWare -lc fixes
Date: Tue, 18 Oct 2005 00:00:21 -0500
User-agent: Mutt/1.5.6i

On Mon, Oct 17, 2005 at 09:53:29PM -0700, Tim Rice wrote:
> After looking over some stuff in 
> that related
> to libtool and some off list emails with Kean Johnston (the author of
> the gcc patch) and Ralf Wildenhues, I realize my UnixWare patch
> was incomplete. 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).
> Setting build_libtool_need_lc=no takes care of most of it but that
> doesn't account for Makefiles adding -lc. Like this snip from
> gettext-0.14.5/gettext-runtime/intl/
> ......
>         $(LIBTOOL) --mode=link \
>           $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
>           -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
>           -rpath $(libdir) \
>           -no-undefined
> ......
> I had been patching Makefiles (post configure) in packages to strip out -lc.
> Now I realize libtool can do that for me.
> I've attached patches to branch-1-5 and HEAD.

Ick. Packages like gettext need to be fixed, not libtool. Garbage in =
Garbage out.

albert chin (address@hidden)

reply via email to

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