[Info-vax] GCC for VMS, was: Re: fortran compiler roadmap?
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Tue Apr 30 07:51:53 EDT 2013
On 2013-04-30 01:19:56 +0000, glen herrmannsfeldt said:
> I haven't thought about this for a long time, but when Alpha first came
> out, the C compilers used int for 32 bits and long for 64 bits.
AFAIK, that was never the case with the DEC/Compaq/HP C compilers for OpenVMS.
The sizes of "int" and "long" were and are 32 bits, and "long long" was
later added and was and is 64 bits.
OpenVMS Alpha prior to V7.0 used 32 bits sign-extended for virtual
addresses, and with V7.0 and later and with 64-bit compilers use 32- or
64-bit variables for addresses depending on how the application is
written and built. That change certainly broke code that assumed the
size of a pointer, but the folks writing the application code had to
ask for 64-bit pointers to get into that trouble.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list