Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 1999 10:15:00 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        arch@freebsd.org
Subject:   Re: Cross compilation goals.
Message-ID:  <38366694.EDD5568F@scc.nl>
References:  <19991119131556.B15131@relay.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38366694.EDD5568F>