OS provides foundation for libraries
OS is a kernel + a bunch of different libraries
Applications may pass through multiple layers of libraries
To define an OS depends on the application consist of a kernel and libraries required for your application
Linux distributions may be considered GNU/Linux
Object files .o
are just ELF files with code for functions!
Static libraries are included at link time
Loaded into memory at runtime, reducing size of executable, rather than being copied into the executable during the linking phase
Multiple applications can use the same library
.so
) like any other on the system.o
files containing function definitionslibc.so
in memory once, and shares itldd <executable>
shows which dynamic libraries an executable uses