Linkers and Loaders Flashcards
1
Q
What is static linking?
A
When the linker pulls all the required code and libraries and they are included in the machine code
This can result in large executable files
2
Q
What is dynamic linking?
A
Compiled versions of the required libraries are stored on the hose computer
The OS links the required code as the programme is running
This cuts down on the size of the code but may break if the linked libraries change
3
Q
What is a loader?
A
Loads machine code into memory, when using dynamic linking it also loads the required libraries into memory