help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Endianness


From: emp1953
Subject: Re: Endianness
Date: Wed, 6 Feb 2008 05:50:41 -0800 (PST)
User-agent: G2/1.0

On Feb 5, 7:44 pm, Paul Pluzhnikov <ppluzhnikov-...@gmail.com> wrote:
> Larry Smith <lsm...@nospam.com> writes:
> > Perhaps the confusion comes from the GCC docs:
>
> > PowerPC Options:
> >  `-mlittle'
> >  `-mbig'
> > Similar options are mentioned for SPARC, ARM, MCore, IA-64, etc
>
> Interesting. I didn't realize PPC and SPARC have added bi-endian
> capability.
>
> > The docs MAY lead some folks to believe that it is possible.
>
> I guess the literal answer to OPs question "can a compiler setting
> change the endianness" is yes, it can. But the endianness of what?
>
> Also, gcc documents '-mlittle-endian' under SPARC, but it doesn't
> seem to work for any version of gcc I've tried:
>
> $ gcc -S t.c -m64 -mlittle-endian
> cc1: error: invalid option `little-endian'
>
> Cheers,
> --
> In order to understand recursion you must first understand recursion.
> Remove /-nsp/ for email.



Thank you Larry for making me seem a bit less clueless in Paul's eyes.
There was a basis for my question.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]