Subject: Re: MACHINE_ARCH on mips
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Todd Vierling <>
List: tech-toolchain
Date: 07/25/1998 14:52:06
On Sat, 25 Jul 1998, Jonathan Stone wrote:

: But, we can _still do that_.  Look at how autoconf handles mips
: Ultrix.  On mips Ultrix, uname -m returns "RISC".  ISTR that on SGIs,
: it returns "mips".  autoconfig handles htiser So we tweak about 4
: lines of autoconf sh code to check for "netbsd" and "mips", and if so,
: set the autoconf "architecture" to "mipsel" or "mipseb", just like it
: does for IRIX or Ultrix.

It's not just autoconf that I'm worried about - in fact, I'm also worried
about the cross-compilability of the NetBSD tree.  How does a cross-pmake
know which mips platform to build for?  When configuring things like the
toolchain, this is very important (and again, brings up the argument that a
little endian toolchain _is_different_ from a big endian toolchain).

-- Todd Vierling (Personal; Bus.