This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: LittleEndian
- From: dewar at gnat dot com (Robert Dewar)
- To: gcc at gcc dot gnu dot org, mirih at vsoft dot com, snowwolf at one2one-networks dot com,tprince at computer dot org
- Date: Mon, 29 Apr 2002 17:52:34 -0400 (EDT)
- Subject: Re: LittleEndian
> Why would you want such an option? If the code contains byte-order
> dependencies, it's unlikely that a compiler option would fix it. If you're
> trying to port binary data files, good luck.
Most often the reason people want this is that they think it will automatically
solve the endianess problem in porting code or data from one machine to another.
That's wrong of course, but people live in hope :-)