[Info-vax] VAX VMS going forward

John Reagan xyzzy1959 at gmail.com
Thu Jul 30 20:59:01 EDT 2020


On Thursday, July 30, 2020 at 8:42:09 PM UTC-4, Stephen Hoffman wrote:
> On 2020-07-30 21:18:29 +0000, Mark Berryman said:
> 
> > On 7/30/20 2:39 PM, Stephen Hoffman wrote:
> >> On 2020-07-30 20:13:36 +0000, Mark Berryman said:
> >> 
> >>> In conclusion, while there is certainly still some work to be done, I 
> >>> don't think it is that onerous to write a 64-bit app in current VMS.
> >> 
> >> That's 32-bit/P0 code (technically ~30-bit) with 64-bit/P2 data. Which 
> >> wasn't too bad to create, as was mentioned. This if you have all of 
> >> your dependencies capable of 64-bit/P2 references.
> > 
> > Flashback to my RSX days when I could run/write "really big programs" 
> > because all of the system libraries were mapped in supervisor space...
> > 
> > Let's see, 30 bits is 1G, right?  I don't have executables on my 
> > systems that are anywhere near that size, but that doesn't include any 
> > sharable libraries they may link to.  Where are these loaded in current 
> > VMS?  Are they limited to P0 space?  If so, then yes, I can see 
> > situations where that could become a limiting factor.
> 
> It all has to fit in P0 space; the executable code.
> 

You can put code in P2 on Itanium from day-1.  You don't have to recompile or anything.  (Itanium C++ needs to be compiled with /POINTER=64).

$ HELP LINK /SEGMENT Qualifier
LINK

  /SEGMENT_ATTRIBUTE

    Qualifier_Values



      segm-attribute

         The I64 Linker accepts the following keywords to set segment
         attributes

            CODE=address_region
            DYNAMIC=address_region
            SHORT=WRITE
            SYMBOL_VECTOR=[NO]SHORT

         where an address region can be specified with keywords P0 and P2.




More information about the Info-vax mailing list