From owner-freebsd-arch Sat Nov 20 5: 3:15 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 4F5CB14CD3 for ; Sat, 20 Nov 1999 05:01:08 -0800 (PST) (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 OAA15869 for ; Sat, 20 Nov 1999 14:00:19 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id OAA08551 for freebsd-arch@freebsd.org; Sat, 20 Nov 1999 14:00:19 +0100 (MET) Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 68F0C14DCB for ; Sat, 20 Nov 1999 01:26:15 -0800 (PST) (envelope-from freebsd-arch@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id KAA08914 for arch@FreeBSD.org; Sat, 20 Nov 1999 10:15:05 +0100 (CET) (envelope-from freebsd-arch@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for arch@FreeBSD.org (arch@FreeBSD.org) To: arch@freebsd.org Date: Sat, 20 Nov 1999 10:15:00 +0100 From: Marcel Moolenaar Message-ID: <38366694.EDD5568F@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19991119131556.B15131@relay.nuxi.com> Subject: Re: Cross compilation goals. Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien wrote: > > I got this off a GCC mailing list. I would prefer that we stick with > these definitions. > > 1. The "target" system is the platform gcc will generate code for. > 2. The "build" system is the platform where you compile gcc. > 3. The "host" system is the platform where gcc executes. > I already want to use TARGET_ARCH for "target". We have MACHINE_ARCH that describes "host", but don't actually have a variable for "build", other than `sysctl -n hw.machine_arch`. Changing MACHINE_ARCH to HOST_ARCH would be too much of an impact, so I don't think we should do that. We could create a BUILD_ARCH for convenience. I don't think there's a place where we actually need to know the build system, though. In discussions these definitions can come handy... -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message