User`s guide
COMPILE
.COMPILE/DIBOL A+B/LIST:DU1:
• If you specify a file name on a /LIST option following a file specification in
the command line, it has the same meaning as when it follows the command.
The following two commands have the same results:
.COMPILE/MACRO A/LIST:B
.COMPILE/MACRO/LIST:B A
The preceding commands generate A.OBJ and B.LST on device DK as output
files.
Remember that file options apply only to the file (or group of files separated
by plus signs) that they follow in the command string. For example:
.COMPILE A.MAC/LIST,B.FOR
This command compiles A.MAC, producing A.OBJ and A.LST on DK:. It also
compiles B.FOR, producing B.OBJ on DK:. However, it does not produce any
listing file for the compilation of B.FOR.
/LOG
(DIBOL only) Creates a log of error messages generated by the compiler.
/MACRO
Invokes the MACRO assembler to assemble the associated files.
/[NO]OBJECT[:filespec]
/OBJECT specifies a file name or device for the object file. Note that any time
you type a colon after the /OBJECT option (/OBJECT:), you must specify a device
or a file specification after the colon.
Because the COMPILE command creates object files by default, the following
three commands have the same meaning:
.COMPILE/FORTRAN A
.COMPILE/FORTRAN/OBJECT A
.COMPILE/FORTRAN A/OBJECT
These commands compile A.FOR and produce A.OBJ as output. The /OBJECT
option functions like the /LIST option; it can be either a command or a file
qualifier.
As a command option, /OBJECT applies across the entire command string.
The following command, for example, assembles A.MAC and B.MAC separately,
creating object files A.OBJ and B.OBJ on DU1:
.COMPILE/OBJECT:DU1: (A,B).MAC
Use /OBJECT as a file option to create an object file with a specific name
or destination. The following command compiles A.DBL and B.DBL together,
creating files B.LST and B.OBJ.
.COMPILE/DIBOL A+B/LIST/OBJECT
RT–11 Command Descriptions 37










