Chapter 15 Using Library Manager

15.2 Starting Library Manager

The library manager is started by entering a command name and parameters, just as for other MS-DOS external commands.

General format of commands

Below is the general format of the command to use when starting the library manager.

slib103 library_file_name[options](relocatable_object_file_name) ...

Contents of brackets [ ] may be omitted.

Table 15-1 Library Manager Options

Option type

Option

Description

 

 

 

 

 

 

 

 

j

Output error and warning messages in Japanese

 

 

 

 

 

 

 

 

Je

Output error and warning messages in Japanese using EUC encoding

 

 

 

 

 

 

Error message

Js

Output error and warning messages in Japanese using Shift JIS encoding.

 

 

 

 

Jj

Output error and warning messages in Japanese using JIS encoding.

 

options

 

 

 

 

e

Output error and warning messages in English.

 

 

 

 

 

 

 

 

 

 

 

W number

Do not output warning messages of the specified number.

 

 

 

 

 

 

 

 

Wall

Do not output any warning messages.

 

 

 

 

 

Program

c

Create a new library manager displays an update confirmation prompt.

 

generation options

f

Force creation of a library file.

 

 

 

 

 

 

 

 

a

Add the specified relocatable object file to the library file.

 

 

 

 

 

 

 

 

d

Delete the specified relocatable object file from the library file.

 

 

 

 

 

 

Functional options

p

Output information about externally defined symbols in the library file.

 

 

 

 

r

Replace the specified relocatable object file in the library file.

 

 

 

 

 

 

 

 

 

 

 

t

Output a list of the relocatable object file that makes up the library file.

 

 

 

 

 

 

 

 

x

Extract the specified relocatable object file from the library file.

 

 

 

 

 

 

 

 

@filename

Specify a parameter file.

 

Other options

 

 

 

h

Display a listing available library manager’s options on the console.

 

 

 

 

 

 

 

 

v

Display the library manager’s version number on the console.

 

 

 

 

 

 

 

 

 

 

NOTE:

When slib103 is used to group relocatable object files into libraries, it will store

 

 

them in the relocatable object files after deleting debug information if such debug

 

 

information exists.

 

 

Therefore, when an ordinary relocatable object file is placed, in a library, it will be

 

 

the same as that file when extracted form the library. However, there will be

 

 

differences if the relocatable file was generated with the -g option.

 

 

 

 

 

Starting Library Manager 275

Page 287
Image 287
Panasonic MN1030 user manual Starting Library Manager