Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2001 18:08:37 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Eric Masson <e-masson@kisoft-services.com>, Larry Rosenman <ler@lerctr.org>, John Baldwin <jhb@FreeBSD.ORG>, freebsd-stable@FreeBSD.ORG, qa@FreeBSD.ORG
Subject:   Re: cputype=486
Message-ID:  <20010903180837.A26210@athlon.pn.xcllnt.net>
In-Reply-To: <20010903172538.B38717@xor.obsecurity.org>
References:  <20010901161054.B13047@athlon.pn.xcllnt.net> <20010902084832.B2510@lerami.lerctr.org> <20010902111131.B478@dhcp01.pn.xcllnt.net> <20010902163046.A26933@lerami.lerctr.org> <20010902144728.A41762@dhcp01.pn.xcllnt.net> <86elppyxhp.fsf@notbsdems.nantes.kisoft-services.com> <20010903094702.A554@dhcp01.pn.xcllnt.net> <20010903141538.A36786@xor.obsecurity.org> <20010903165956.A2872@dhcp01.pn.xcllnt.net> <20010903172538.B38717@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 03, 2001 at 05:25:38PM -0700, Kris Kennaway wrote:
> On Mon, Sep 03, 2001 at 04:59:57PM -0700, Marcel Moolenaar wrote:
> 
> > > ${CPUTYPE} on the host system would do it.  Perhaps we need to make a
> > > new variable akin to the other cross-compiling variables to tell it
> > > what CPUTYPE to cross-compile for.
> > 
> > CPUTYPE can indeed be used for that, provided we stop using
> > MACHINE_ARCH for cross-build purposes. [...]
> 
> Okay, you've now surpassed the point of my knowledge about the
> cross-building process, so I'll drop out of the discussion :-)

Let me quickly put it this way:

MACHINE_ARCH and CPUTYPE have a dependency. You cannot change one
and gurantee a valid combination. Thus, it's best to assume they're
static in the sense that they simply define the build machine.
All you need now is some other means to specify the host machine.
One variable is better than two, hence HOST_MACH...

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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