From owner-freebsd-questions Fri Nov 8 11:39: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F9A637B401 for ; Fri, 8 Nov 2002 11:39:02 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id A04D843E3B for ; Fri, 8 Nov 2002 11:39:01 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.6/8.12.6) with ESMTP id gA8Jd09j042588; Sat, 9 Nov 2002 08:39:00 +1300 (NZDT) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.6/8.12.6/Submit) id gA8Jd0dL042587; Sat, 9 Nov 2002 08:39:00 +1300 (NZDT) Date: Sat, 9 Nov 2002 08:39:00 +1300 From: Jonathan Chen To: Alessandro de Manzano Cc: questions@FreeBSD.ORG Subject: Re: old way of compiling kernel Message-ID: <20021108193900.GB42436@grimoire.chen.org.nz> References: <20021108182916.A42835@libero.sunshine.ale> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021108182916.A42835@libero.sunshine.ale> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 08, 2002 at 06:29:16PM +0100, Alessandro de Manzano wrote: > Hi all > > I'm using FreeBSD in production since 3 years but I've a little question > I would ask since then: > > _exactly_ why on a freshly installed system (no cvsup, no build > anything) to compile just the kernel I must use the "old way" (1) and > can't use new way (2) ? > > I've been told I can use (2) only after at least one "make buildworld", > not on a vergin system. > > I'm looking for a detailed explanation, technical deep :) > > Someone could, please, enlight me ? :-) That's 'cos when you cvsup, there is a possibility of changes to the system build's toolchain set. The "make buildworld + buildkernel" ensures that the new toolchain is used instead of the existing installed one on the system which may be out of date. The new toolchain is installed once you run a "make installworld" This means on a correctly installed system, the toolchain installed is the one that was used to build the existing kernel. Therefore, you con use the "config kernel, ..." method (which is a heckuva lot faster) to build subsequent kernels. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message