Linkers, loaders and libraries Flashcards
1
Q
What is a library?
A
Precompiled, pre-tested sets of code which contain routines available to the programmer. Including or adding a reference to the library makes them available to use.
2
Q
What is a linker?
A
Include links to any library code needed and place into the executable.
3
Q
What is static linking?
A
All code required is included directly into the finished compiled program, this results in large programs.
4
Q
What is dynamic linking?
A
Compiled versions of the library are stored by the computer, and the OS links code required directly into the programs when run. This cuts down on the size of the compiled program.
5
Q
What is a loader?
A
Includes/loads programs into memory ready for use