-Input


This option specifies the input file.

[Specification format]

-Input=file[(module[,module]...)][{,|Δ}file[(module[,module]...)]]...

 

-

Interpretation when omitted

None

[Detailed description]

-

This option specifies input file file.
If multiple files are specified, delimit them with a comma (,) or space.

-

Wildcard characters (*, ?) can also be used.
The character strings specified with wildcard characters are expanded in alphabetical order.
Expansion of numerical values precedes that of alphabetic characters. Uppercase characters are expanded before lowercase characters.

-

Files that can be specified as input files are object files output from the compiler or the assembler and relocatable files, load module files, Intel HEX files, and Motorola S-record files output from the optimizing linker.
In addition, a module in a library can be specified using the format of "library(module)".
Specify the module name without the extension.

-

If no extension is specified for the input filename, then if no module name is specified, it is assumed to be ".obj"; if a module name is specified, it is assumed to be ".lib".

[Caution]

-

This option can be used only in a subcommand file.
An error will occur if this option is specified on the command line.
When input files are specified on the command line, specify them without the -input option.

[Example of use]

-

To input a.obj and module "e" in lib1.lib, describe as:

<Command line>

>rlink -subcommand=sub.txt

 

<Subcommand file "sub.txt">

-input=a.obj lib1(e)

 

-

To input all ".obj" files beginning with "c", describe as:

<Command line>

>rlink -subcommand=sub.txt

 

<Subcommand file "sub.txt">

-input=c*.obj

[Remark]

-

If the -form=object or -extract option is specified, this option will be invalid.

-

If an Intel HEX file is specified as an input file, only the -form=hexadecimal option can be specified. If a Motorola S-record file is specified, only the -form=stype option can be specified.
If the output file name is not specified, it will be "first input file name_combine.extension" (If the input file is "a.mot", the output file will be "a_combine.mot").