Endianess

Stephen Williams steve@icarus.com
Sat Aug 15 14:11:00 GMT 1998


mikeg@watson.ibm.com said:
> What was a bit disconcerting to me was the use of phrases such as "PC
> compilers", and "workstations compilers" which is of course totally
> wrong because it's an architecture, not a compiler issue.

The MSVC++ compiler for alpha does 32bit integers, longs and pointers,
whereas the egcs compiler does 32bit integers but 64bit longs and pointers.

I think that the MIPS processor has little- and big-endian modes, selected
by compiler switches.

So, these are very much compiler issues. Of course, "workstation" and
"PC" are still meaningless adjectives:-)

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."





More information about the Gcc mailing list