Академический Документы
Профессиональный Документы
Культура Документы
COMPILATION:
1) Pre-Processor
2) Translator
3) Assembler
4) Linker
PRE-PROCESSOR
The standard first step in processing the source files is running them through
the special text processing program called a preprocessor, which performs one or
more of the following actions:
The pre-processor including header files into the source code files, as
specified by the keyword #include.
TRANSLATOR:
ASSEMBLER:
The input file from translator (.s) is not suitable for execution. It is a
text file carrying the human-readable mnemonics of assembler
instructions.
It can be used by the developer to get a better insight into the details of
the inner workings of the compilation process.
Now the assembler takes the .s file as an input and produce the .o file as
an output. This .o file is called as object file.
At this stage only the existing code is converted into machine language,
the function calls like printf ()/scanf () are not resolved.
LINKER: