Everything

 

-LIBrary


This option specifies the input library file.

[Specification format]

-LIBrary=file[,file]...

 

-

Interpretation when omitted

None

[Detailed description]

-

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

-

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.

-

If the extension is omitted from the input file specification, it is assumed that ".lib" has been specified.

-

If this option and the -form=library or -extract option are specified at the same time, the specified library file is input as the target library to be edited.
Otherwise, undefined symbols are searched in the library file after the link processing between files specified as the input files are executed.

-

The symbols are searched in the library file in the following sequence:

-

User library files specified by this option (in the specified order)

-

System library files specified by this option (in the specified order)

-

Default library (environment variables "HLNK_LIBRARY1", "HLNK_LIBRARY2", and "HLNK_LIBRARY3"Note in that order)

Note

See "2.3 Environment Variable" for details about environment variables.

[Example of use]

-

To input a.lib and b.lib, describe as:

rlink main.obj -library=a.lib,b

 

-

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

rlink main.obj -library=c*.lib