Subject: Re: make build errors...
To: Fred Clift <fclift@verio.net>
From: Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk>
List: netbsd-help
Date: 11/02/2000 16:25:35
On Thu, Nov 02, 2000 at 09:16:43AM -0700, Fred Clift wrote:
> mkdir /usr/obj
> cd /usr/src (assuming that I unpaced the tarballs here...)
> make obj
> make build
> 
> 
> Is that the proper procedure to do what I want?

Normally yes. But someone (I think it was Simon Burge) pointed out to me 
that the compiler has changed slightly between 1.4.2 and 1.4.3. You need to
build __and install__ the newer compiler first.

Do something like:

cd /usr/src/gnu/usr.bin/egcs 
make depend && make && make install

Then do a 'make build'.

> How can I restart the build without starting over from scratch - make
> build seems to do a make clean first....

Look at the Makefile in /usr/src. You might want to set the
UPDATE environment variable before doing a make build. From that
Makefile.

#   UPDATE will avoid a `make cleandir' at the start of `make build',
#       as well as having the effects listed in /usr/share/mk/bsd.README.

All the best,
-- 
Chris