Date: Fri, 19 Nov 1999 11:21:10 +0100 From: Marcel Moolenaar <marcel@scc.nl> To: arch@freebsd.org Subject: Re: Cross compilation goals. Message-ID: <38352496.75EBBAEE@scc.nl> References: <19991117184034.A53402@dragon.nuxi.com>, <19991119013339.F81410@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38352496.75EBBAEE>