Subject: Re: csh build revisited...
To: Andrew Gillham <>
From: Curt Sampson <>
List: current-users
Date: 08/02/1997 14:59:49
On Sat, 2 Aug 1997, Andrew Gillham wrote:

> So whatever "stale" files there were, make didn't
> have a clue on how to remove them.

This is not unusual. This is also why it's better, IMHO, to compile
to a separate object tree; not only is 

    mv obj.i386 obj.i386.old
    mkdir obj.i386
    rm -rf obj.i386.old &

a lot faster than a `make cleandir', it's also much more reliable.

If you want to take building in a separate object tree to its
sensible conclusion, you can download

untar that over a current source tree, set your BSDOBJDIR and
BSDSRCDIR and the like (as described in src/share/mk/bsd.README),
and build against include files and libraries that are in the object
tree. This way you can build an entire snapshot of a newer version
of NetBSD without risking installing parts of it over your current
production system.


Curt Sampson		Info at
Internet Portal Services, Inc.		`And malt does more than Milton can
Vancouver, BC   (604) 257-9400		 To justify God's ways to man.'