Linkers Flashcards

1
Q

What is a Linker?

A

combined program code with compiled library routine code all into one executeable program

linking external modules and libraries included within the code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a static linkers purpose?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two type of linkers?

A
  • static
  • dynamic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a dynamic linkers purpose?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly