Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2001 09:47:02 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Eric Masson <e-masson@kisoft-services.com>
Cc:        Larry Rosenman <ler@lerctr.org>, John Baldwin <jhb@FreeBSD.org>, freebsd-stable@FreeBSD.org, qa@FreeBSD.org
Subject:   Re: cputype=486
Message-ID:  <20010903094702.A554@dhcp01.pn.xcllnt.net>
In-Reply-To: <86elppyxhp.fsf@notbsdems.nantes.kisoft-services.com>
References:  <20010901114903.D11062@athlon.pn.xcllnt.net> <XFMail.010901132212.jhb@FreeBSD.org> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 03, 2001 at 01:38:26AM +0200, Eric Masson wrote:
> >>>>> "Marcel" == Marcel Moolenaar <marcel@xcllnt.net> writes:
> 
>  Marcel> You simply assumed that different processor models within the
>  Marcel> same architecture would be treated as different architectures.
>  Marcel> This is not the case.
> 
> <Fabien Barthez>
> 
> Wouldn't it be the easiest and costless method ?
> 
> </Fabien Barthez>

I think it would be better to keep the definition of architecture
as it is but decorate it with model for build purposes. This means
that you need a simple way to extract the arch+model string from
the runtime environment so that you can use it in make(1). A build
is then started by saying something like:

	make buildworld HOST_MACH=i386-p3

or

	make buildworld HOST_MACH=alpha-ev5

In this scenario, building on Pentium III (BUILD_MACH=i386-p3) for
use on an i386 (HOST_MACH=i386-i386), where the install happens on
the i386 itself (BUILD_MACH=i386-i386)  would do the right thing.
The tools built on the P3 will not be used during installation by
the i386 machine itself. Consequently, we need to make sure that
during install we check and optionally build the minimal set of
tools we need during installation.

This solution is not undoable, but needs care to implement and can
easily take weeks or maybe months to do it right.

-- 
 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?20010903094702.A554>