Linkers Flashcards
What is a Linker?
combined program code with compiled library routine code all into one executeable program
linking external modules and libraries included within the code
What is a static linkers purpose?
modules and libraries added directly into main file.
increases size of file
any uodates to modeules and libraries externally doesn’t affect program
this means a specific version of library can be used
What are the two type of linkers?
- static
- dynamic
What is a dynamic linkers purpose?
addressed of modules and libraries are included in file where they’re referenced
when program is run, loader retrieves the program at specififed address so it can be executed
+ :
files remain small and ext4ernal updates feed through main file - no need to rewrite code