-subcommand


< Optimizing Linkage Editor (rlink) Options / Subcommand File Option >

[Format]

-subcommand = <file name>

[Description]

-

Specifies options with a subcommand file.

-

The format of the subcommand file is as follows:
<option> { = | Δ } [<suboption> [,…] ] [ Δ&] [;<comment>]

-

The option and suboption are separated by an "=" sign or a space.

-

For the input option, suboptions are separated by a space.

-

One option is specified per line in the subcommand file.

-

If a subcommand description exceeds one line, the description can be allowed to overflow to the next line by using an ampersand (&).

-

The subcommand option cannot be specified in the subcommand file.

[Examples]

-

Command line specification:

rlink file1.obj -sub=test.sub file4.obj

-

Subcommand specification:

input   file2.obj file3.obj       ; This is a comment.
library lib1.lib, &               ; Specifies line continued.
lib2.lib

-

Option contents specified with a subcommand file are expanded to the location at which the subcommand is specified on the command line and are executed.

-

The order of file input is file1.obj, file2.obj, file3.obj, and file4.obj.