From owner-freebsd-current Fri Nov 22 7:57:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B9D337B40B for ; Fri, 22 Nov 2002 07:57:42 -0800 (PST) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9000743E88 for ; Fri, 22 Nov 2002 07:57:41 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 29315 invoked from network); 22 Nov 2002 15:57:43 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 22 Nov 2002 15:57:43 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gAMFvd2D042685; Fri, 22 Nov 2002 10:57:39 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021122114100.GC11000@sunbay.com> Date: Fri, 22 Nov 2002 10:57:44 -0500 (EST) From: John Baldwin To: Ruslan Ermilov Subject: Re: Cross-Development with NetBSD Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 22-Nov-2002 Ruslan Ermilov wrote: > On Thu, Nov 21, 2002 at 02:31:19PM -0500, John Baldwin wrote: >> >> On 21-Nov-2002 Terry Lambert wrote: >> > Ruslan Ermilov wrote: >> >> On Thu, Nov 21, 2002 at 12:10:14AM -0700, M. Warner Losh wrote: >> >> > In message: <20021121151714.U961-100000@squirm.dsto.defence.gov.au> >> >> > "Wilkinson,Alex" writes: >> >> > : Is FreeBSD likely to follow the in footsteps of NetBSD and create >> >> > : a framework to do crossbuilds ? >> >> > : >> >> > : http://ezine.daemonnews.org/200211/xdevnetbsd.html >> >> > >> >> > FreeBSD already has cross builds for a while, since before NetBSD's >> >> > cross build infrastructure. However, NetBSD's infrastructure is a >> >> > little more extensive because it is possible to do incremental builds >> >> > and build full releases that work in a cross build evironment. >> >> >> >> What do you mean by "incremental builds and full releases that work ..."? >> > >> > You know, like changing one line in /usr/src/lib/libstand on >> > a source tree on a x86 box, typing "make release", and having >> > only the things that need to be rebuilt being rebuilt, resulting >> > in a working FreeBSD-Alpha or FreeBSD-SPARC64 release CDROM image. >> >> Make release is a very poor example b/c make release goes to great >> efforts to create a clean-room environment for a release. make >> rerelease is quite helpful though and does do what you want to >> restart a previous release. :) Also, make buildworld -DNOCLEAN >> isn't too shabby, though if I could do make TARGET_ARCH=alpha >> everything I would prefer that. >> > What would you prefer, I didn't quite understand? If I could: % cd /usr/src/usr.bin/foo_binary % make TARGET_ARCH=alpha and end up with an alpha foo binary. Granted, I might have to do some extra steps to setup the build environment, and that would be fine. Would be nice if I could do: % cd /usr/src % make TARGET_ARCH=alpha buildenv or some such. However, I think that might involve a good bit of work to get right and the gains might not be worth the expense. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message