-REPlace


This option replaces library modules.

[Specification format]

-REPlace=suboption[, ...]
  suboption := {file|file(module[, ...])}

 

-

Interpretation when omitted

None

[Detailed description]

-

This option replaces specified file file or library module module with the module having the same name in the library file specified by the -library option.

[Example of use]

-

To replace file1.obj with module "file1" in library file lib1.lib, describe as:

>rlink -library=lib1.lib -replace=file1.obj -form=library

 

-

To replace module "mdl1" with module "mdl1" in library file lib1.lib, describe as:

>rlink -library=lib2.lib -replace=lib1.lib(mdl1) -form=library

[Remark]

-

If the -form={object|relocate|absolute|hexadecimal|stype|binary} option and the -extract or -strip option is specified, this option will be invalid.

-

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