Robust detection of endianness at compile time.

Nick Maclaren nmm1@cus.cam.ac.uk
Tue Jul 31 08:03:00 GMT 2007


Dean Anderson <dean@av8.com> wrote:
>
> I can't remember which flavor OSF/1 used on the MIPS.  Same as Ultrix,
> no doubt.  I don't remember what ultrix used, either. Probably same as
> Vax...oh yeah. ;-)

Mixed endian.  That was the system that caused me to abandon dabbling
with compiler flags and to do the job properly.


Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email:  nmm1@cam.ac.uk
Tel.:  +44 1223 334761    Fax:  +44 1223 334679



More information about the Gcc-help mailing list