This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: f/target.c HOST_BYTES_BIG_ENDIAN


On Thu, Aug 22, 2002 at 09:33:58AM -0400, Hans-Peter Nilsson wrote:
> On Thu, 22 Aug 2002, Alan Modra wrote:
> 
> > HOST_BYTES_BIG_ENDIAN and HOST_BITS_BIG_ENDIAN are referenced in
> > f/target.c when cross-compiling, but are not defined anywhere.
> 
> That sounds strange (for a BE host).  f/target.c does include
> config.h which includes auto-host.h...

HOST_WORDS_BIG_ENDIAN is the only HOST_*_BIG_ENDIAN macro defined.
grep the source.

>  There doesn't seem to be
> anything magic about NATIVE_CROSS.  What am I missing?

Belts and braces.  Strictly speaking, it's not necessary with the
other changes.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]