Subject: Re: __archname__ [as C feature-test ]
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Chris G. Demetriou <cgd@netbsd.org>
List: current-users
Date: 01/15/1999 17:42:29
Jonathan Stone <jonathan@DSG.Stanford.EDU> writes:
> I'd thought Core (Jason, at the time, iirc) had indicated we should.
> I know ld.elf_so used to use #ifdef {__alpha__,__i386__,__mips__}.
>
> Whats the new rule?
those are the user-land symbols used to distinguish MACHINE_ARCH.
in the kernel, $MACHINE is supposed to be defined by the kernel
makefile, in addition to whatever other defines exist.
at least, that's the way it's historically been.
cgd
--
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.