Everything

-library


< Optimizing Linkage Editor (rlink) Options / Input Options >

[Format]

-library = <file name>[,...]

[Description]

-

Specifies an input library file. Two or more files can be specified by separating them with a comma (,).

-

Wildcards (* or ?) can also be used for the specification. String literals specified with wildcards are expanded in the alphabetical order. Expansion of numerical values precedes that of alphabetical letters. Uppercase letters are expanded before lowercase letters.

-

If an extension is omitted from the input file specification, lib is assumed.

-

If form=library or extract is specified, the library file is input as the target library to be edited.

-

Otherwise, after the linkage processing between files specified for the input files are executed, undefined symbols are searched in the library file.

-

The symbol search in the library file is executed in the following order: user library files with the library option specification (in the specified order), the system library files with the library option specification (in the specified order), and then the default library (environment variable HLNK_LIBRARY1,2,3).

[Examples]

library=a.lib,b   ; Inputs a.lib and b.lib.
library=c*.lib    ; Inputs all files beginning with c with the extension .lib.