This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: LittleEndian
- From: Tim Prince <tprince at computer dot org>
- To: Miri <mirih at vsoft dot com>, "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Mon, 29 Apr 2002 08:03:55 -0700
- Subject: Re: LittleEndian
- References: <6A7D58CBBC23D6118529000629D53F840D0B98@mainserver.vsoft.com>
- Reply-to: tprince at computer dot org
On Monday 29 April 2002 00:06, Miri wrote:
> Hi,
>
> I?m trying to port code from SUN-Solaris (Sparc) to Linux using GCC 3.0.4.
> I tried to compile to littleEndian using ?mlittle-endian ? but its seems
> that the new compiler not supports that option (writes that its not in spec
> file).
>
> Can you please help or give me a hint.
>
> Thank you
>
> Miri
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.
--
Tim Prince