Answer the question
In order to leave comments, you need to log in
What is an object module?
Please write the definition for the object module in a simpler language. I read about him on Wikipedia, but I did not understand anything.
Answer the question
In order to leave comments, you need to log in
Building with or with ++ code takes place in 2 stages.
1 - compilation. On it, each cpp-shnik is converted into an object file. Since each file is compiled independently, we cannot yet calculate the address of functions from another object.
In their place, we leave holes and write down the symbols that we expect / have in special tablets .
Then there is linking. All object files are written one after another, and now it is possible to fill in the addresses of all functions.
Static libraries behave much like ordinary object files. With dynamic, everything is somewhat more complicated.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question