Chapter 15 Using Library Manager
Command Options 287
Functional description
This option is used to replace relocatable object files in the library file.
If a specified file does not exist in the library file, the library manager will output a message add the
relocatable object file.
Rules of use
To specify the option, enter the hyphen (-) followed by the lower case letter “r”.
slib103 test.lib -r test1.rf
Operation example
Specify the following to replace the relocatable object file test1.rf in the library file test.lib.
slib103 test.lib -r test1.rf
Multiple files can be replaced with one -r option. To delete test1.rf, test2.rf, and test3.rf from test.lib,
specify the following.
slib103 test.lib -r test1.rf test2.rf test3.rf
This example replaces the relocatable object files test1.rf, test2.rf, and test3.rf in test.lib.
NOTE: If specifying a file names with path name for relocatable object file to be
switched, the file name without path name exists or will be traced in the library
file.
r Replace the specified relocatable object file in the library file