Linking

> Operating System - Kernel (Windows, Unix, Linux)

Table of Contents

1 - About

Linking is the process of joining one or more object code files together with one or more of the system libraries. The C library libc is by default linked in. Other libraries may be specified with -llib options to the compiler (e.g. -lm for the Math library).

Libraries are linked either:

Once a library has been linked statically, if the same version of the library is updated (eg. minor upgrade, bug fix) the binary would need to be manually relinked to use the new library.

Advertising
os/linking.txt ยท Last modified: 2019/01/05 13:29 by 172.69.70.165