What is “object” in “object file” and why is it called this way? [duplicate]
This question already has an answer here: What's an object file in C? 5 answers 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? 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 aren't defined yet (their memory addresses is basically left blank). When you compile a C file with GCC: gcc -Wall -o test test.c