From owner-freebsd-questions Thu Mar 11 23:39:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1D5D715204 for ; Thu, 11 Mar 1999 23:39:31 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony [10.0.0.6]) by rover.village.org (8.9.3/8.6.6) with ESMTP id HAA64230; Fri, 12 Mar 1999 07:39:12 GMT Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA16861; Fri, 12 Mar 1999 00:39:20 -0700 (MST) Message-Id: <199903120739.AAA16861@harmony.village.org> To: Greg Lehey Subject: Re: where is the kernel? Cc: Paolo Di Francesco , FreeBSD Questions In-reply-to: Your message of "Fri, 12 Mar 1999 10:47:13 +1030." <19990312104713.L490@lemis.com> References: <19990312104713.L490@lemis.com> <19990311005620.RIMA2097.fep01-svc@harlock> Date: Fri, 12 Mar 1999 00:39:20 -0700 From: Warner Losh Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19990312104713.L490@lemis.com> Greg Lehey writes: : > Can I use an arbitrary directory to compile the kernel? : : No. Use /usr/src/sys. You should have a symlink /sys -> : /usr/src/sys; some software may depend on it, but I haven't checked. Yes. You can in all versions of FreeBSD >= 3.0 (and maybe in 2.2.8R as well, but I'm less sure of that). I do it all the time. I no longer have /usr/src on some of my machines. Bruce did an excellent job of ridding the tree of the /usr/src -> and /sys -> symlink dependencies. I routine build out of /home/imp/FreeBSD/src. In fact, my /usr/src sym link points to a directory that hasn't existed on my system for quite some time. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message