This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Endianess
- To: mikeg at watson dot ibm dot com, toon at moene dot indiv dot nluug dot nl
- Subject: Re: Endianess
- From: N8TM at aol dot com
- Date: Fri, 14 Aug 1998 00:19:50 EDT
- Cc: egcs at cygnus dot com
In a message dated 8/13/98 1:22:42 PM Pacific Daylight Time,
mikeg@watson.ibm.com writes:
> it's an architecture, not a compiler issue
No, not entirely, as others mentioned already, certain compiler/library
systems swap bytes by default so that the files work across architectures.
Thus my possibly too loose generalization that many Unix machines use big-
endian data files regardless of their internal byte order.