User`s guide

EXECUTE
See the description of the LINK utility in the RT–11 System Utilities Manual for
a load-map example that includes a global symbol cross-reference table, and for
a more detailed description of how to interpret a load map.
Note that RT–11 does not generate a load map by default. You must also
specify /MAP in the command line to get a cross-reference section. The following
command produces a map listing file, MYPROG.MAP, that contains a global
symbol cross-reference section:
.EXECUTE/GLOBAL/MAP:DU1: MYPROG
/HEADER
(/FORTRAN IV only) Includes in the printout a list of options currently in effect.
/I4
(FORTRAN IV or FORTRAN–77) Allocates two words for the default integer
data type (FORTRAN IV uses only one-word integers) so that it takes the same
physical space as real variables. With FORTRAN–77, /I4 allocates and uses two
words for the default integer and logical variable length.
/LIBRARY
(MACRO only) Identifies the file the option qualifies as a macro library file. Use
it only after a library file specification in the command line.
The MACRO assembler looks first to the library associated with the most recent
/LIBRARY option to satisfy references (made with the .MCALL directive) from
MACRO programs. It then looks to any libraries you specified earlier in the
command line, and it looks last to SYSMAC.SML.
In the following example, the two files A.FOR and B.FOR are compiled
together, producing B.OBJ and B.LST. The MACRO assembler assembles
C.MAC, satisfying .MCALL references from MYLIB.MLB and SYSMAC.SML.
It produces C.OBJ and C.LST. RT–11 then links B.OBJ and C.OBJ, resolving
undefined references from SYSLIB.OBJ, and produces the executable file B.SAV.
Finally, RT–11 loads and executes B.SAV:
.EXECUTE A+B/LIST/OBJECT,MYLIB/LIBRARY+C.MAC/LIST/OBJECT
/[NO]LINENUMBERS
(DIBOL, FORTRAN IV, or FORTRAN–77) /LINENUMBERS includes internal
sequence numbers in the executable program. These are useful in debugging
programs. This is the default operation.
/NOLINENUMBERS suppresses the generation of internal sequence numbers
in the executable program. This produces a smaller program and optimizes
execution speed. Use this option to compile only those programs that are already
debugged; otherwise, the line numbers in DIBOL or FORTRAN error messages
are difficult to interpret.
RT–11 Command Descriptions 117