What is “object” in “object file” and why is it called this way? [duplicate]
问题 This question already has answers here : What's an object file in C? (5 answers) Closed 5 years ago . I was asked a question: "What is an 'object file'?". After looking at Wiki, I only know that it contains objects . But what are those objects and why someone called them that way? 回答1: Object files (or object code) are machine code files generated by a compiler from source code. The difference with an executable is that the object file isn't linked, so references to functions, symbols, etc