[mod.computers.vax] Linker Tricks

lars@ACC.ARPA (01/04/86)

It turns out, other people had been up against my problem, and
solved it in various ways.

The switch to do what I want is LINK/NOSYSSHR. This suppresses the
search of IMAGELIB.OLB, and this references to shared banks, and
therefore forces the routines to be included from STARLET.OLB.
The resulting image is selfcontained, and thus release-independent.
(I had tried /SHARE=COPY and even /NOSHARE, but they both failed).

An alternative is to link on the target system; to enable this, DEC
is distributing the object RTLs with the basic system as of 4.2
(I.e. VMS 4.2 includes VAXCRTL.OLB). That does not help me on VMS 4.1
though, which was my specific problem.

Thanks to all who replied.

			/ Lars Poulsen
			  Advanced Computer Communications
			 <Lars @ ACC.ARPA>

------