From owner-freebsd-arch Fri Oct 15 15:10: 8 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 1347E151D6 for ; Fri, 15 Oct 1999 15:10:06 -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 AAA07624 for ; Sat, 16 Oct 1999 00:10:02 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id AAA51434 for freebsd-arch@freebsd.org; Sat, 16 Oct 1999 00:10:02 +0200 (MET DST) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 6FAAB151D6 for ; Fri, 15 Oct 1999 15:09:52 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id QAA35708; Fri, 15 Oct 1999 16:09:49 -0600 (MDT) (envelope-from imp@harmony.village.org) 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 QAA66179; Fri, 15 Oct 1999 16:11:12 -0600 (MDT) Message-Id: <199910152211.QAA66179@harmony.village.org> To: John Birrell Subject: Re: make world issues Cc: Marcel Moolenaar , arch@freebsd.org In-reply-to: Your message of "Sat, 16 Oct 1999 07:52:51 +1000." <19991016075251.D67481@freebsd1.cimlogic.com.au> References: <19991016075251.D67481@freebsd1.cimlogic.com.au> <380716A4.20961526@scc.nl> Date: Fri, 15 Oct 1999 16:11:12 -0600 From: Warner Losh Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991016075251.D67481@freebsd1.cimlogic.com.au> John Birrell writes: : 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. When I added TARGET_ARCH and TARGET I did it so that a make could be built that hard wired MACHINE and MACHINE_ARCH in the right way so that the tools could be built. Right now w/o them you have to have your own, hand built cross compile tools. : 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. Hmmmm, I'd be keen on reviewing them. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message