Subject: Re: IMPORTANT: MACHINE_ARCH WRONG ON MIPS PLATFORMS
To: Todd Vierling , Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Ignatios Souvatzis <email@example.com>
Date: 07/23/1998 23:19:52
On Thu, Jul 23, 1998 at 04:38:11PM -0400, Todd Vierling wrote:
> On Thu, 23 Jul 1998, Jonathan Stone wrote:
> : Please think through this. I think MACHINE_ARCH == mips is a better
> : decision. not going to change my mind by repeating the same arugments.
> : mipsel vs mipseb is no bigger a deal than mips32 vs mips64. THink
> : about it. should those show up as different kinds of $MACHINE_ARCH
> : too?
> Yes, unless it has the same binary sets.
> The MACHINE for sparc64 is sparc64, but the MACHINE_ARCH is sparc, becasue
> the binary format is the same unless you're using V9 instructions (similar
> to using 68060 instructions on m68k) - 32-bit a.out, SPARC V8 big-endian by
uh, no no.
on m68k, MACHINE describes a ... say, mainboard family (eg, Amiga).
MACHINE_ARCH is m68k
and for the CPU model you have to parse sysctl hw.model, currently (for