Sunday, August 7, 2011

Chapter 1, question 10

10.  What does the linker do?

It takes one or several object files, and creates an executable out of it, as long as there are no errors.  If there are errors, it will report them.

The linker therefore takes one or many translation units' object code (produced by the compiler), and/or one or many libraries' object code, and produces usually one, but sometimes more than one, computer program.

No comments:

Post a Comment