SW500007 Microchip Technology, SW500007 Datasheet - Page 152

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
Librarian
Interpreting this, LIBR is the name of the program, options is zero or more librarian options which
affect the output of the program. k is a key letter denoting the function requested of the librarian
(replacing, extracting or deleting modules, listing modules or symbols), file.lib is the name of
the library file to be operated on, and file.obj is zero or more object file names.
to be replaced or extracted. If no such arguments are supplied, all the modules in the library will be
replaced or extracted respectively. Adding a file to a library is performed by requesting the librarian
to replace it in the library. Since it is not present, the module will be appended to the library. If the
r key is used and the library does not exist, it will be created.
is an error not to give any object file names.
defined or referenced within (global symbols only are handled by the librarian). As with the r and x
key letters, an empty list of modules means all the modules in the library.
5.11.3 Examples
Here are some examples of usage of the librarian. The following lists the global symbols in the
modules a.obj, b.obj and c.obj:
138
The librarian options are listed in Table 5.2.
The key letters are listed in Table 5.3.
When replacing or extracting modules, the file.obj arguments are the names of the modules
Under the d key letter, the named object files will be deleted from the library. In this instance, it
The m and s key letters will list the named modules and, in the case of the s keyletter, the symbols
LIBR options k file.lib file.obj ...
LIBR s file.lib a.obj b.obj c.obj
Table 5.2: Librarian command-line options
Table 5.3: Librarian key letter commands
-Pwidth
-W
Option
Key
r
d
x
m
s
Replace modules
Delete modules
Extract modules
List modules
List modules with symbols
specify page width
Suppress non-fatal errors
Meaning
Effect
Linker and Utilities

Related parts for SW500007