SW500009 Microchip Technology, SW500009 Datasheet - Page 151

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Linker and Utilities
5.12.1 The Library Format
The modules in a library are basically just concatenated, but at the beginning of a library is main-
tained a directory of the modules and symbols in the library. Since this directory is smaller than the
sum of the modules, the linker can perform faster searches since it need read only the directory, and
not all the modules, on the first pass. On the second pass it need read only those modules which are
required, seeking over the others. This all minimises disk I/O when linking.
a general purpose archiving mechanism as is used by some other compiler systems. This has the
advantage that the format may be optimized toward speeding up the linkage process.
5.12.2 Using the Librarian
The librarian program is called LIBR, and the format of commands to it is as follows:
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
It should be noted that the library format is geared exclusively toward object modules, and is not
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
LIBR options k file.lib file.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
Librarian
137

Related parts for SW500009