From owner-freebsd-current Wed Oct 8 11:58:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07907 for current-outgoing; Wed, 8 Oct 1997 11:58:40 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from usr05.primenet.com (tlambert@usr05.primenet.com [206.165.6.205]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07889 for ; Wed, 8 Oct 1997 11:58:30 -0700 (PDT) (envelope-from tlambert@usr05.primenet.com) Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id LAA00242; Wed, 8 Oct 1997 11:57:11 -0700 (MST) From: Terry Lambert Message-Id: <199710081857.LAA00242@usr05.primenet.com> Subject: Re: buildworld To: asami@cs.berkeley.edu (Satoshi Asami) Date: Wed, 8 Oct 1997 18:57:11 +0000 (GMT) Cc: chuckr@mat.net, FreeBSD-current@FreeBSD.ORG In-Reply-To: <199710080636.XAA05880@silvia.HIP.Berkeley.EDU> from "Satoshi Asami" at Oct 7, 97 11:36:14 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > * Getting back to current was flawless. Makefile buildworld, ven from a 2.2 > * base, simply worked right, first time. > * > * Thanks for the work, Satoshi, you sure made things easy! > > Well, sorry to burst a bubble but I don't think going to -current from > 2.2 on *one* machine was hard even without my modification. ;) (Of > course, if someone is going to 2.2 or -current from 2.1.x, that's a > different question.) Unless you have an if_de.c using ethernet card... This is because the compiler will not be rebuilt with "__FREEBSD__=3" until you rebuild the compiler while running on the new kernel. But you can't build a new kernel, because the if_de.c driver won't build correctly, unless you compile the new kernel with "__FREEBSD__=3". Nice Catch-22... or in this case, Catch-2.2. > Now, with people's help, -current no longer requires the source tree > to be in /usr/src so you can even build -current and 2.2 worlds on the > same fileserver (just have "/usr/src" pointing to the 2.2 source tree). No, you can't, so long as any code anywhere tests __FREEBSD__. > Do "make installworld" on the NFS clients and you'll be all set (I do > this all the time). This will work, because the kernel and compiler versions will be correct. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.