Subject: Re: make build into empty destdir possibly broken
To: Tim Rightnour <root@garbled.net>
From: Simon Burge <simonb@netbsd.org>
List: current-users
Date: 04/10/2000 22:28:29
Tim Rightnour wrote:

> I've been trying to get my crosscompiler running again, which suddenly blasted
> itself recently.. and now I think I know why..
> 
> [ ... ]
> 
> So now.. it would appear.. that because it does the -R${DESTDIR}/usr/lib, its
> looing for crtbeginS.o in /build/alpha/root/usr/lib/ and blwing up when it
> doesn't find it there.  Of course, this file doesn't arrive there until the
> make install stage from what I can tell..  so the fix for this isn't obvious to
> me.

"make build" explicity does a "cd lib/csu && ... && make install" before
building anything else, including other libraries.  crt*.o should be
there from _very_ early on...

Simon.