[Info-vax] 64-bit (was Re: New CEO of VMS Software)
Arne Vajhøj
arne at vajhoej.dk
Tue Jan 9 18:52:06 EST 2024
On 1/9/2024 4:35 PM, John Dallman wrote:
> In article <unkd47$25cg2$1 at dont-email.me>, arne at vajhoej.dk (Arne Vajhøj)
> wrote:
>> I suspect that all direct calls to LIB$ and SYS$ no matter if it is
>> Macro-32 or Fortran or C would have to be manually edited to use
>> new 64 bit capable version, but that the various language RTL
>> could switch to 64 bit capable versions transparently.
>
> With a sufficiently regular naming scheme, a compiler could make
> substitutions, but I don't know if the current scheme will cope.
If the arguments are simple buffer addresses, then maybe the
compiler could do something.
But what with more complex data structures like item lists?
A Fortran compiler could add a 64 to the function name called and
could pass a 64 bit descriptor instead of a 32 bit descriptor for
a string. But I can't imagine it changing all the addresses
in an item list from INTEGER*4 to INTEGER*8.
Arne
More information about the Info-vax
mailing list