Use Of Libraries - Intel iAPX 86 User Manual

Table of Contents

Advertisement

iAPX 86
t
88 Family Utilities
Use of Libraries
Libraries aid in the job of building programs. The library manager program
t
LIB86
t
creates and maintains files containing object modules.
LINK86 and CREF86 treat library files in a special manner. If you specify a library
file in the input to these utilities, they search the library for modules that satisfy
unr·esolved external references in the input modules
already
read. This means that
libraries should be specified after the input modules that contain external references.
If a module included from the library has an external reference, the library is
searched again to try to satisfy the reference. This process continues until all external
references have been the subject of a search of all public symbols in the library
modules.
When LINK86 and CREF86 search a library, they
normally
include only library
modules that satisfy external references in the output.
If
no external references are
satisfied by a library, no modules from the library are included in the LINK86 out-
put module or the CREF86 output listing. However, LINK86 and CREF86 provide
the means to unconditionally include a library module even if there is no external
reference to it. Figure 1-2 shows LINK86 handling of a library file.
MODA
MODB
MODC
MODO
MODE
MODF
MOOG
MODH
MODI
MODJ
MODK
INPUTS
MOD1
EXT. REF. X
LIBRARY
PUBLIC A
PUBLIC B
PUBLIC C
PUBLIC 0
PUBLIC E
PUBLIC F
PUBLIC G
PUBLIC H
RLO}:
MOOG
f - - . _ - -
PUBLIC I
PUBLIC J
PUBLIC K
Figure 1-2. Library Linkage by LINK86
OUTPUT
MODULE
121616-2
Introduction
1-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iapx 88

Table of Contents