From owner-freebsd-stable@FreeBSD.ORG Tue Feb 15 23:30:50 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78F6C16A4CE for ; Tue, 15 Feb 2005 23:30:50 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDB0143D4C for ; Tue, 15 Feb 2005 23:30:49 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [IPv6:::1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j1FNTHCe056663; Tue, 15 Feb 2005 16:29:17 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 15 Feb 2005 16:29:16 -0700 (MST) Message-Id: <20050215.162916.74693467.imp@bsdimp.com> To: alexjeffburke@gmail.com From: Warner Losh In-Reply-To: References: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: Cross compiling X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 23:30:50 -0000 > I was just wondering whether it is posibl to build say a 4.11 kernel > on a 5.3 system - I'd like to have only one machine here on which I > maintain all the sources and buidl what i need, then I think you can > mount the /usr/obj file system and /usr/src and run the install stages > on other systems. Yes. I do this all the time. I never build in /usr/src or /usr/obj :-). One has to make sure that one has the right config to generate the compile tree with. I believe that the compilers are still compatable enough to allow this to happen. Building world can be done, but may require some hand steps. It has been a while since I've done this. > Also, can I build kernels for different architectures on a normal i386 box? Yes. See the recent cross compilation thread in freebsd-arch for details. Warner