Subject: Re: evbsh3 -> evbsh3{el,bl}
To: None <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-sh3
Date: 01/03/2001 16:36:54
On Thu, Jan 04, 2001 at 09:22:14AM +0900, itojun@iijlab.net wrote:

 > 	i remember another thing - arch/evbsh3/include/endian_machdep.h goes
 > 	a little bit tricky.  is it okay to install endian_machdep_{eb,el}.h
 > 	depending on MACHINE_ARCH settings?

Does the compiler emit a -D__BIG_ENDIAN__ or -D__LITTLE_ENDIAN__?  If so,
you could just switch a run-time.  Also useful for cross-compiles.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>