From owner-freebsd-arch Fri Oct 15 14:50:35 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id F2DD414A26 for ; Fri, 15 Oct 1999 14:50:33 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id XAA07498 for ; Fri, 15 Oct 1999 23:50:32 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id XAA51310 for freebsd-arch@freebsd.org; Fri, 15 Oct 1999 23:50:32 +0200 (MET DST) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (Postfix) with ESMTP id 1D722150C3 for ; Fri, 15 Oct 1999 14:49:36 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.3/8.9.1) id HAA78106; Sat, 16 Oct 1999 07:52:51 +1000 (EST) (envelope-from jb) Date: Sat, 16 Oct 1999 07:52:51 +1000 From: John Birrell To: Marcel Moolenaar Cc: arch@freebsd.org Subject: Re: make world issues Message-ID: <19991016075251.D67481@freebsd1.cimlogic.com.au> References: <380716A4.20961526@scc.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <380716A4.20961526@scc.nl>; from Marcel Moolenaar on Fri, Oct 15, 1999 at 01:57:24PM +0200 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Oct 15, 1999 at 01:57:24PM +0200, Marcel Moolenaar wrote: > D2. > introduce TARGET_ARCH and TARGET_OBJ to specify for which architecture > and object format we are building (resp.). MACHINE_ARCH and MACHINE_OBJ > will be set to reflect the current (ie running) environment. This should > help fix P3. 'make' knows about MACHINE and MACHINE_ARCH. 'sysctl' can tell us what the kernel thinks it is. We should stick to using these. > D4. > allow concurrent cross-builds by defining a TRGTROOT under OBJROOT using > TARGET_ARCH and TARGET_OBJ. If, for example, OBJROOT=/usr/obj, > TARGET_ARCH=i386 and TARGET_OBJ=elf, then TGTROOT can be defined as > cross-build for the Alpha can be performed at the same time > (TRGTROOT=/usr/obj/alpha/elf). This may help in fixing P9 and may be > advanteous in making snapshots and releases on build-machines. To cross-build, I don't need to set so many things. On i386, I just: export MACHINE=alpha export MACHINE_ARCH=alpha make world There are a few commits I will make RSN to allow others to do this too. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ john.birrell@opendirectory.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message