C ++ source file from a text file into an executable process experienced?

1, pretreatment

Analyze a source code file header, macro definitions and the like, generate a pre-compiled file

Preprocessing phase: the source code file containing the file relationship (header), prepared statement (macros) and analyzed Alternatively, pre-compiled file generation.

Compile stage: converting the pre-compiled into a specific file preprocessed assembly code to generate the assembler file

Compilation phase: compile stage conversion into machine code generated assembler file, generate relocatable object files

Link stage: multiple object files and libraries required to connect into a final executable object file

Guess you like

Origin www.cnblogs.com/pacino12134/p/11259111.html