Subject: Re: evbsh3 -> evbsh3{el,bl}
To: None <itojun@iijlab.net>
From: Todd Vierling <tv@wasabisystems.com>
List: port-sh3
Date: 01/03/2001 19:43:23
On Thu, 4 Jan 2001 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.
:
: 	gcc do emit __LITTLE_ENDIAN__, however, i'm still not sure if it is
: 	safe enough to do #ifdef here.

It should be fine!  :)

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- NetBSD 1.5 now available on CD-ROM  --  http://www.wasabisystems.com/