This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Robust detection of endianness at compile time.
- From: Nick Maclaren <nmm1 at cus dot cam dot ac dot uk>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 31 Jul 2007 09:03:28 +0100
- Subject: Re: Robust detection of endianness at compile time.
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