Linkers loaders and libraries Flashcards
What are modules
Modules are pieces of a larger program broken down into smaller tasks wrote in source code which can either be loosely coupled or tightly coupled
What are object files
Object files are the machine code version of modules
What is a code library
A code library is a collection of compiled procedures that can be used for common tasks.
What positive features do code libraries have
No need to write procedures from scratch
Procedures already tested so little to no errors
Application can be smaller and compact
Allows for code to be shared across applications
can be wrote in the most efficient language
What negative features do code libraries have
The library has to be well written
Specialist libraries can be very expensive such as those for finance
For run time the library has to be present
What is a linker
combines a group of object files into an executable file
What is a make file
A make file is a text file listing all of the object files that need to be connected together.
What is a loader
A loader is a utility program that loads executable files into main memory