From owner-freebsd-questions Mon May 31 22:23:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from out2.ibm.net (out2.ibm.net [165.87.194.229]) by hub.freebsd.org (Postfix) with ESMTP id 22B4D15145 for ; Mon, 31 May 1999 22:23:12 -0700 (PDT) (envelope-from kalmadg@banet.net) Received: from banet.net (slip-32-101-7-104.ny.us.ibm.net [32.101.7.104]) by out2.ibm.net (8.8.5/8.6.9) with ESMTP id FAA109122; Tue, 1 Jun 1999 05:23:04 GMT Message-ID: <37536CDC.BA6F68A@banet.net> Date: Tue, 01 Jun 1999 01:17:17 -0400 From: James Kalmadge X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Gurudatt Shenoy Cc: freebsd-questions@freebsd.org Subject: Re: Kernel Compilation Speedup? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gurudatt Shenoy wrote: > Hello, > > When I make a change to one kernel file - uipc_socket.c and do a "make", > (or make depend followed by make), all the files in the kernel seem to be > recompiled again. It takes about one hour on my 486 DX to build the new > kernel. > > Is there an established way to speed up things so that only the one file > will be recompiled and the rest just linked into the new kernel? It would > save me a lot of time! > > Thanks, > Guru > > PS: Please reply to me direct as I am not on the FreeBSD Questions list > yet. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message And the asnwer is: config -n Do not remove the old compile directory (see below [ in man config ]). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message