[Top][All Lists]

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

Re: why -lc on AIX

From: Matt Schalit
Subject: Re: why -lc on AIX
Date: Fri, 15 Feb 2002 16:03:21 -0800

Miroslaw Dobrzanski-Neumann wrote:
> Hi,
> Why libtool (1.4) insists on directly linking libc on almost all systems?

There have been several similar bug reports on the subject of -lc
here over the past few months (if not longer).  What's happening,
I think, is that somebody smart is loaded down with other work :-)

If you look at the configure scripts, they use a screwed up
grep -lc sort of syntax instead of grep -e -lc, which makes
sure that the -lc is not treated as a switch.

The result of that faulty test is a syntax error return value,
a 2, rather than a 1 or a 0, and the configure interprets that
to mean, "this system needs -lc"

Check out the posts from me, Larry Roseman, and Boyd Gerber.

reply via email to

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