Subject: Re: evbsh3 -> evbsh3{el,bl}
To: None <thorpej@zembu.com>
From: None <itojun@iijlab.net>
List: port-sh3
Date: 01/04/2001 09:41:33
> > 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.
itojun