Subject: Re: evbsh3 -> evbsh3{el,bl}
To: None <port-sh3@netbsd.org>
From: Hiroyuki Bessho <bsh@grotto.iijnet.or.jp>
List: port-sh3
Date: 01/06/2001 00:10:41
Marcus Comstedt <marcus@idonex.se> writes:

> 
> Actually, since gcc automatically defines either __LITTLE_ENDIAN__ or
> __BIG_ENDIAN__, can't we just use that define in endian_machdep.h?
> 

  I've tried it once, and got a minor trouble.  We use cpp in some
places. In that case, we don't get __(LITTLE|BIG)_ENDIAN__ defined.
If we rely on predefined symbols, we need to use $(CC) -E everywhere
instead of cpp.