Subject: Re: order of compiling/variables for -current
To: Mark Willey <mwilley@hillres142.cc.purdue.edu>
From: Alistair G. Crooks <agc@uts.amdahl.com>
List: current-users
Date: 03/02/1995 04:52:17
> I *thought* I had the sequence down, but could someone mail me an order in
> which tom compile different things and "what to type" to go from 1.0 or old
> current to -current?

Due to some masochistic compulsion, I've just done this, and these
are the steps that I used (on the i386 platform):

(cd /usr/src/usr.sbin/config.new ; make && make install && make cleandir)
# if you don't do this, config.new of your kernel config file will
# fail with errors in files.i386.newconf

(cd /usr/src/gnu/usr.bin/gas ; make && make install && make cleandir)
# if you don't do this, you won't be able to build locore.s, with
# errors about cpuid instruction not found

(cd /sys/arch/i386/conf ; config.new MYKERNEL)
(cd /sys/arch/i386/compile/MYKERNEL ; make depend && make)
# copy  new kernel to /, and boot off it

(cd /usr/src/share/mk ; make install)
# if you don't do this, you'll get errors building gcc, when it
# doesn't know how to make the manual pages (don't know how to make gcc.0)

(cd /usr/src/gnu/usr.bin/gcc2 ; make && make install && make cleandir)

# it was at this stage that I got REALLY fed up with the
# sh: warning: running as root with dot in PATH
(cd /usr/src/bin/sh ; make && make install &&  make cleandir)

(cd /usr/src/include ; make && make install)
(cd /usr/src/gnu/usr.bin/ld ; make && make install && make cleandir)
(cd /usr/src/lib ; make && make install && make cleandir)

# and now back to the beginning and make the world
(cd /usr/src/bin ; make && make install && make cleandir)
(cd /usr/src/sbin ; make && make install && make cleandir)
(cd /usr/src/usr.bin ; make && make install && make cleandir)
(cd /usr/src/usr.sbin ; make && make install && make cleandir)
(cd /usr/src/libexec ; make && make install && make cleandir)
(cd /usr/src/gnu ; make && make install && make cleandir)
(cd /usr/src/share ; make && make install && make cleandir)
(cd /usr/src/games ; make && make install && make cleandir)

Cheers,
Alistair
--
Alistair G. Crooks (agc@uts.amdahl.com)			   +44 125 234 6377
Amdahl European HQ, Dogmersfield Park, Hartley Wintney, Hants RG27 8TE, UK.