Com 212 intro to system programming book Theory



Download 0.65 Mb.
View original pdf
Page52/72
Date13.05.2021
Size0.65 Mb.
#56617
1   ...   48   49   50   51   52   53   54   55   ...   72
com-212-introduction-to-system-programming-theory
9833 SS1 FISHERY LESSON NOTE
TYPES OF LIBRARIES

STATIC LIBRARIES
Historically, libraries could only be static. A static library, also known as an archive, consists of a set of routines which are copied into a target application by the compiler, linker, or binder, producing object files and a standalone executable file. This process, and the standalone executable file, are known as a static build of the target application.

Page | 52 The linker resolves all of the unresolved addresses into fixed or relocatable addresses (from a common base) by loading all code and libraries into actual runtime memory locations. A linker may work on specific types of object files, and thus require specific (compatible) types of libraries. The linking process resolves references by searching the libraries in the order given. Usually, it is not considered an error if a name can be found multiple times in a given set of libraries.


Download 0.65 Mb.

Share with your friends:
1   ...   48   49   50   51   52   53   54   55   ...   72




The database is protected by copyright ©ininet.org 2024
send message

    Main page