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 E4F6214F5A for ; Fri, 19 Nov 1999 02:26:48 -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 LAA19531 for ; Fri, 19 Nov 1999 11:26:48 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id LAA00402 for freebsd-arch@freebsd.org; Fri, 19 Nov 1999 11:26:47 +0100 (MET) Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id E043A1564F for ; Fri, 19 Nov 1999 02:26:11 -0800 (PST) (envelope-from freebsd-arch@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id LAA68492 for arch@FreeBSD.org; Fri, 19 Nov 1999 11:21:15 +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: Fri, 19 Nov 1999 11:21:10 +0100 From: Marcel Moolenaar Message-ID: <38352496.75EBBAEE@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19991117184034.A53402@dragon.nuxi.com>, <19991119013339.F81410@dragon.nuxi.com> Subject: Re: Cross compilation goals. Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien wrote: > > On Thu, Nov 18, 1999 at 09:22:34PM +1100, John Birrell wrote: > > What I _don't_ want to see is gcc trying to interpret MACHINE_ARCH > > or TARGET_ARCH or somehow trying to "discover" that it is cross-compiling. > > By `gcc' you mean the compiler, or the driver proper? gcc (both in the sense of compiler and driver proper) doesn't try to figure out if it is a cross-compiler or not. It's a compile-time parameter that determines how the compiler (the one that's being built) should behave when it is executed. In this sense it's only important for the Makefiles to know or figure out whether or not the compiler (the one that's being built) is to be a cross-compiler or not. A running compiler *knows* if it's a cross-compiler or not, because it was told so during compilation (of said compiler). -- 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