User`s guide

EXECUTE
/LINKLIBRARY:filespec
Includes the library file name you specify as an object module library during the
linking operation. Repeat the option if you need to specify more than one library
file.
/LIST[:filespec]
Produces a compilation or assembly listing. This is not the default; you must
specify this option to get a listing.
The /LIST option has different meanings depending on how you specify it:
To generate a listing on the printer, specify /LIST without filespec as an option
of the EXECUTE command.
To store a listing on a file-structured device, specify /LIST with a device name.
RT–11 stores the listing file on that device, assigning it the same name as the
input file with a LST file type. For example, the following command creates
a listing file called A.LST on DU1:
.EXECUTE/LIST:DU1: A.MAC
To display a listing on the terminal, specify /LIST with TT; for example:
.EXECUTE/LIST:TT A.FOR
To override the default file type of LST, specify the /LIST option with a name
and file type. For example, the following command compiles A.FOR and
B.FOR together, producing files A.OBJ and AANDB.OUT on device DK. The
command then links A.OBJ (using SYSLIB.OBJ as needed) and produces
A.SAV:
.EXECUTE/NORUN/FORTRAN/LIST:AANDB.OUT A+B
To produce a listing file of the same name as the input file, specify /LIST after
the file specification to which it applies. For example, the following command
first compiles A.DBL and B.DBL together, producing files DK:A.OBJ and
DU1:B.LST. The command then links A.OBJ (using SYSLIB.OBJ as needed)
and produces DK:A.SAV:
.EXECUTE/DIBOL A+B/LIST:DU1:
Specifying a file name with a /LIST option following a file specification has the
same meaning as specifying a file name with the /LIST option following the
command. For example, the following two commands have the same results:
.EXECUTE/MACRO A/LIST:B
.EXECUTE/MACRO/LIST:B A
Remember that file options apply only to the file (or group of files that are
separated by plus signs) that they follow. For example, the following command
compiles A.MAC and produces A.OBJ and A.LST:
.EXECUTE/NORUN A.MAC/LIST,B.FOR
118 RT–11 Command Descriptions