Subject: Re: Problem linting libkafs - make guru needed
To: Todd Whitesel <>
From: Bill Studenmund <>
List: current-users
Date: 10/06/1998 18:08:29
On Tue, 6 Oct 1998, Todd Whitesel wrote:

> > 1) Our build tools don't deal well w/ libraries which link against other
> > libraries when you're in a DESTDIR environment. The fix is easy (add
> > -L$DESTDIR/usr/lib -nostdlib if you're DESTDIR'ing), but seems gross to
> > folks. Well, everyone I've shown it to dislikes it. :-) Right now, we have
> > no libraries with this problem.
> Yes, it's gross, because -nostdlib is a sledgehammer. It suppresses the
> presence of crt0.o and friends in the link line (or at least it should,
> according to GNU docs) and also the frequently-needed -lgcc -lc options
> which are implicitly part of a "normal" link.

Actually, I only added the defs above when linking libraries. So I'm not
sure how many of the problems you mention apply (libraries don't need
crt0.o, do they?).

Linking a program works fine w/ DESTDIR. It's only a library which needs
another library which has problems.

Take care,