Larry Smith <[EMAIL PROTECTED]> 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.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to