Re: Cross compilation goals.

[ Available lists | Index of freebsd-arch | Month of Nov 1999 | Week of 19 Nov 1999 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Marcel Moolenaar <marcel@scc.nl>
Date
19 Nov 1999 02:26:59
Subject
Re: Cross compilation goals.
Message-ID
38352496.75EBBAEE@scc.nl

References to

[ Hide this part ]
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



Elapsed time: 0.112 seconds