From owner-freebsd-questions Wed May 1 22: 4: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail4.nc.rr.com (fe4.southeast.rr.com [24.93.67.51]) by hub.freebsd.org (Postfix) with ESMTP id D36FE37B416 for ; Wed, 1 May 2002 22:03:59 -0700 (PDT) Received: from i8k.babbleon.org ([66.57.86.84]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 1 May 2002 23:59:47 -0400 Received: by i8k.babbleon.org (Postfix, from userid 111) id 0648BBB29; Wed, 1 May 2002 23:59:39 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Shantanu , "freebsd-questions@freebsd.org" Subject: Re: Building Kernel -- which is fastest,reliable,easy? Date: Wed, 1 May 2002 23:59:39 -0400 X-Mailer: KMail [version 1.3] References: <3AEF00E3.66D085DA@ieee.org> In-Reply-To: <3AEF00E3.66D085DA@ieee.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020502035939.0648BBB29@i8k.babbleon.org> 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 Tuesday 01 May 2001 02:30 pm, Shantanu wrote: | Hi! | 1) cd /usr/src/sys/i386/conf | config MYKERN | cd ../../compile/MYKERN | make dep | make | make install | | Reboot | | 2) cd /usr/src | make buildkernel KERNCONF=MYKERN | make installkernel KERNCONF=MYKERN | | Reboot | | 3) cd /usr/src | make kernel KERNCONF=MYKERN | | Reboot | | Which is the best method to compile? Well, first of all, methods 2 & three are exactly the same -- the kernel target just does a buildkernel / installkernel, so I always use 3 myself just to save typing. Your can use #1 *only* if you haven't updated your kernel courses since the release; in other words, if you cvsup, you *must* use 2 or 3. But if you are building the straight installed kernel source but merely changing options, then you do indeed have a choice. Traditionally, one uses (1) to recompile the shipped release kernel and (2) or (3) otherwise. But I know of no reason that (3) should fail just because you have the modified source installed, so probably (3) is your best bet overall. | | Regards, | ... .... .- -. - .- -. ..- | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-questions" in the body of the message -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org http://www.eff.org http://www.programming-freedom.org If you smell the smoke you don't need to be told what you've got to do; Yet there's a certain breed, so very in-between, they'd rather take a vote. -- DEVO -- Here To Go To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message