I have some questions about the steps used to compile a C program.
I have as a source of study the book by Luis Damas (I know that it is not advisable to have only one ...), where he says that the compilation phase consists of the syntactic verification of the structure of the code to be compiled. If you do not have any errors, it creates an object file referring to the file .c
.
However, it does not say what it has inside the object code.
After all, what compose the object file?
And when we include a #include
in our code, does the preprocessor insert the library into our program, or just a "link" that tells linker
which library to use and where it is located?