- 3
how on compilator
2 Answers
+ 15
To see the full discussion in Stack Overflow (which Apoorva copy and paste it from there) see:
[https://stackoverflow.com/documentation/c%2b%2b/4708/compiling-and-building#t=201710090842153967239]
+ 9
TheĀ compilerĀ parses the pureĀ C++source code (now without any preprocessor directives) and converts it into assembly code. Then invokes underlying back-end(assembler in toolchain) that assembles that code into machine code producing actual binary file in some format(ELF, COFF, a.out, ...).