SW500008 Microchip Technology, SW500008 Datasheet - Page 151

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
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
015
778-1001
778-1001
Linker and Utilities
psect name may be symbols that have never been used throughout the program, or relate to symbols
that are not directly associated with a psect.
formation on generating these files.) These differ to that shown in the map file in that they list
all symbols, whether they be of global or local scope, and they only list the symbols used in the
module(s) associated with that list file.
5.11 Librarian
The librarian program, LIBR, has the function of combining several object files into a single file
known as a library. The purposes of combining several such object modules are several.
In order to make the library concept useful, it is necessary for the linker to treat modules in a library
differently from object files. If an object file is specified to the linker, it will be linked into the final
linked module. A module in a library, however, will only be linked in if it defines one or more
symbols previously known, but not defined, to the linker. Thus modules in a library will be linked
only if required. Since the choice of modules to link is made on the first pass of the linker, and
the library is searched in a linear fashion, it is possible to order the modules in a library to produce
special effects when linking. More will be said about this later.
5.11.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.11.2 Using the Librarian
The librarian program is called LIBR, and the format of commands to it is as follows:
Note that a symbol table is also shown in each assembler list file. (See Section
It should be noted that the library format is geared exclusively toward object modules, and is not
fewer files to link
faster access
uses less disk space
2.4.18
Librarian
for in-
137

Related parts for SW500008