Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2001 09:05:34 +0100
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        alpha@FreeBSD.org
Subject:   Re: Kernel builds broken?
Message-ID:  <20011218090534.F73333@uriah.heep.sax.de>
In-Reply-To: <XFMail.011217130941.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Mon, Dec 17, 2001 at 01:09:41PM -0800
References:  <20011217161037.F39205@locore.ca> <XFMail.011217130941.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
As John Baldwin wrote:

> >> Why is _MACHINE_ARCH == i386 on an Alpha system?
> > 
> > Maybe because its spelt MACHINE_ARCH?

Btw., then it wouldn't work on IA32 (since the code is opted-in, not
opted-out).

> > As I said, the definition for the machine type is in the compiler specs
> > and is __<machine>__.
> 
> Yes, we use __<machine>__ all over the kernel.  The fd(4) driver should do the
> same.

OK.  When i last looked, i didn't find many examples, so i was in the
wrong impression that __i386__ would refer to the host CPU.  I'll
change it then.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

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




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