At 04:23 PM 12/15/2003, Toon Moene wrote:
>Most 64-bit architectures use the I32LP64 model, meaning that integers
>(both Fortran and C ints) are 32 bits and long and pointers are 64 bits.
>
>>As I am
>>reading, the reason behind the 32-bit mode is for backward compatibility and
>>ease of migration, and the real thing to do is run in 64-bit mode once you
>>port the code successfully.
>
>That would be the way I would proceed (but for the fact that as a
>compiler writer and tester, I much prefer 64-bit *big-endian*
>architectures - but that's a whole different story ...)
>
So, how did g77 for ia64 come out little-endian, with ILP64, when there
exist I32LP64 big-endian compilers for that architecture? I think those
who made the decision were led to believe there was a greater market for
ILP64 than for I32LP64 on linux.
Tim Prince
|