Subject: Re: IMPORTANT: MACHINE_ARCH WRONG ON MIPS PLATFORMS
To: Noriyuki Soda <soda@sra.co.jp>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-toolchain
Date: 07/23/1998 10:58:15
On Fri, 24 Jul 1998 02:10:50 +0900 (JST) 
 Noriyuki Soda <soda@sra.co.jp> wrote:

 > I partially agree with this. Also, `uname -m` should answer "mipsle" 
 > on pmax and pica/arc, and "mipsbe" on newsmips, too.
 > (or, "mips-le" and "mips-be" is prefered?)

mipseb and mipsel -- that's what the mips people use :-)

 > But, ${MACHINE_ARCH} should be remained as "mips", because it is
 > used to determine source directory in Makefile, and the source
 > directory (i.e. XXX/arch/mips) should be shared between "mipsle" and
 > "mipsbe".
 > 
 > BTW, powerpc is also bi-endian architecture. What do they do ?

Avoid the issue :-/  I think all of the PowerPC ports currently assume
big endian.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942