[comp.os.vms] Linking on 4.5 and running on 4.1

Z00.R-Gerber@KL.GBA.NYU.EDU (Robert M Gerber) (08/06/87)

	The best way to to link on a version of VMS that is later then some
versions that the target system(s) are running is to link against the earlier
sharable images..

	To do this is rather simple.....

	1) Put a copy of VMS 4.1 (or whatever the earliest version you want to
	   be able to run on) SYS$LIBRARY: into a directory (by itself)
	2) When you want to link against it: $ DEFINE SYS$LIBRARY {whatever
           the name of the directory from #1 is.)

	This will make for a small image as it will be linked sharable, and
will make sure that routines that aren't in 4.1 will not be used.

	I would not try any other way across major versions of VMS, and this
should work from 4.x to 5.x (no guarantees as I have not actualloy used anything
later then VMS 4.5)

	This is how some software houses do their linking so they can run on
earlier versions of VMS, yet make sure that their s/w hasn't broken on VMS
4.x)

-----Robert Gerber			(The facts have been tested previously,
     Comtex Systems			 but not recently, so like the opinions
					 expressed here they are not in any way
					 those of my employer or the customer
					 that I am at.  Come to think of it,
					 they may just be a figment of my burnt
					 imagination.  {Good Luck})
-------