From owner-freebsd-alpha Tue Dec 18 0:20:17 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 64E4937B41C; Tue, 18 Dec 2001 00:20:14 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id JAA18844; Tue, 18 Dec 2001 09:20:13 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id fBI85YM86193; Tue, 18 Dec 2001 09:05:34 +0100 (MET) (envelope-from j) Date: Tue, 18 Dec 2001 09:05:34 +0100 From: Joerg Wunsch To: John Baldwin Cc: alpha@FreeBSD.org Subject: Re: Kernel builds broken? Message-ID: <20011218090534.F73333@uriah.heep.sax.de> Reply-To: Joerg Wunsch References: <20011217161037.F39205@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Mon, Dec 17, 2001 at 01:09:41PM -0800 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 ____. > > Yes, we use ____ 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