-replace


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

[Format]

-replace = <suboption> [,...]
           <suboption>: <file name> [ ( <module name> [,...] ) }

[Description]

-

Replaces library modules.

-

Replaces the specified file or library module with the module of the same name in the library specified with the library option.

[Examples]

replace=file1.obj           ; Replaces the module file1 with the module file1.obj.
replace=lib1.lib(mdl1)      ; Replaces the module mdl1 with the module mdl1
                            ; in the input library file lib1.lib.

[Remarks]

-

When form={object | relocate | absolute | hexadecimal | stype | binary}, extract, or strip is specified, this option is unavailable.

-

Operation is not guaranteed if this option is used in combination with compile option -merge_files.