[Info-vax] VAX VMS going forward

Arne Vajhøj arne at vajhoej.dk
Wed Jul 29 21:08:30 EDT 2020


On 7/29/2020 4:13 PM, John Dallman wrote:
> Can one build a program where pointers to data are /always/ 64-bit? Since
> I'd be porting code that is expecting uniform memory addressing, rather
> than dealing with different realms of data, that would make life much
> simpler.

$ CC/POINTER=64 ...

should go a long way.

> However, that gives me the problem that I can only call functions that
> take 64-bit pointers. Is the standard C library all set up for that? How
> about the threading functions? Those categories are all I need.

C User Guide section 1.7.3 has a little about it.

Also see John Reagan's reply.

In general I believe that if you have correct portable C
code then you will be in a pretty good shape with VMS
and 64 bit pointers.

The people with code that has to use 32 bit pointers to
call various LIB$/SYS$ functions and has to use 64 bit
pointers to access huge data they have some challenges.

Arne




More information about the Info-vax mailing list