Chapter 15 Using Library Manager
Command Options 289
Functional description
This option is used when you want to extract relocatable object files that exist in the library file.
When a relocatable object file name is specified following the -x option, and a file with the same name
exists in the library file, that relocatable object file will be extracted into the specified file name. If the
file does not exist, the library manager will output a warning message and continue processing.
When no relocatable object file name is specified, all relocatable object files that exist in the library file
will be extracted.
Rules of use
To specify the option, enter the hyphen (-) followed by the lower case letter “x”.
slib103 test.lib -x test1.rf
Operation example
slib103 test.lib -x test1.rf
slib103 test.lib -x
The first example checks whether or not the file test1.rf exists in test.lib, and if it does, extracts test1.rf.
The second example extracts all relocatable object files in test.lib.
NOTE: When an object file is extracted, it will overwrite any file of the same name
existing in the current directory.
x Extract the specified relocatable object file from the library file