Subject: Re: building current
To: None <brusinsk@ibdr.inf.tu-dresden.de>
From: Mike Long <mike.long@analog.com>
List: netbsd-help
Date: 02/12/1997 15:27:09
>Date: Wed, 12 Feb 1997 17:22:26 +0100 (MET)
>From: Andreas Brusinsky <brusinsk@ibdr.inf.tu-dresden.de>

>How can I store the builded objects of a source tree in
>a diffrent file system
>
>My FS for the source tree has just 170 MB. 
>I believe that I can not 'make build' on it.
>So how can I easily add space of another FS to the source
>tree so that it doesn't get full. 

Your best bet is to use objdirs.  You need to do one of the following:

1) mount your other FS on /usr/obj
2) create /otherfs/obj, then symlink /usr/obj to /otherfs/obj.
3) set BSDOBJDIR to /otherfs/obj

The cd to /usr/src and

# make cleandir && make obj

All object files &c. will then be stored under /otherfs/obj instead of
within the source tree.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil