Specifications
Linking a Device Driver
/SYSEXE
Directs the linker to selectively search the system shareable image, SYS$BASE_
IMAGE.EXE, to resolve symbols in a link operation. When the linker selectively
searches SYS$BASE_IMAGE.EXE, it only includes symbols from its global
symbol table that were referenced by input files previously processed in the link
operation.
/DSF
Directs the linker to create a file called a debug symbol file (DSF) for use by the
OpenVMS AXP System-Code Debugger. Specify the character string you want
the linker to use as the name of for the debug symbol file. If you do not include a
file type in the character string, the linker appends the .DSF file type to the file
name.
See the OpenVMS Linker Utility Manual for more detailed information.
/NOSSYSHR
Directs the linker not to search the system default shareable image library
(SYS$LIBRARY:IMAGELIB.OLB) to resolve symbolic references. Drivers cannot
resolve symbols from shareable image libraries.
/MAP=xxDRIVER
Directs the linker to create an image map file. You need a map file for the driver
image to assist in debugging.
/FULL
Directs the linker to create a full image map when specified with the /MAP
qualifier.
/CROSS_REFERENCE
Directs the linker to place the Symbols by Name section in the full or default
image map with the Symbols Cross-reference section.
xxDRIVER_LNK/OPTION
Identifies the input file specification (here, xxDRIVER_LNK) as a linker options
file. See Example 9–1 for a representative options file for use in linking an
OpenVMS AXP device driver.
9.1 Linker Options File for OpenVMS AXP Device Drivers
Example 9–1 shows a standard link options file for linking any OpenVMS AXP
driver. A sample link options file is available in the SYS$EXAMPLES directory.
9–2










