Home > Back-end >  The target file (a or. Obj) link between the calculate static link?
The target file (a or. Obj) link between the calculate static link?

Time:03-26

Baidu encyclopedia says: static link is by the linker in the link of the content of the library is added to the executable program in

Almost all of the search are saying static link refers to link static library, then the target file link between calculate static link?

CodePudding user response:

Between the target files can be packaged, only the combination of physical, no relocation and a series of operations, so do not generally called "link"

CodePudding user response:

Is ah,
Logically that do not contain the main function of the target file is the simplest form of static library,

CodePudding user response:

reference 1st floor flying_music response:
between the target files can be packaged, only the combination of physical, no relocation and a series of operations, so do not generally called "link"


What you said is the target file into static library? (maybe I didn't understand what you said)

Function calls between the target file, a global variable access these will not have a relocation?
  • Related