Skip to main content

Posts

Showing posts with the label The Compilation Process

The Compilation Process

A program goes from text files(or source files)to processor instructions as follows: The Compilation Process Object files are intermediate files that represent an incomplete copy of the program: each source file only expresses a piece of the program, so when it is compiled into an object file, the object file has some markers indicating which missing pieces it depends on. The linker takes those object files and the compiled libraries of predefined code that they rely on, fills in all the gaps, and spits out the final program, which can then be run by the operating system (OS).