This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Big-endian Gcc on Intel IA32
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: dewar at gnat dot com
- Cc: gcc at gcc dot gnu dot org, torvalds at transmeta dot com
- Date: Sun, 23 Dec 2001 16:32:05 +0100
- Subject: Re: Big-endian Gcc on Intel IA32
- References: <20011223145954.15F7EF28C6@nile.gnat.com>
dewar@gnat.com writes:
> The point is that it is quite straightforward to address the problem WITHIN
> an address unit. Ada already does this. Have a look at what GNAT implements
> here with the Bit_Order attribute (and also see the discussion of why it
> is not easy to do more). This is in the GNAT RM.
Yes, but the interesting case (at least if you have to match a given
external representation) is not addressed:
| If byte flipping is required for interoperability between big- and
| little-endian machines, this must be explicitly programmed. This
| capability is not provided by @code{Bit_Order}.