The C compilation system consists of a compiler, an assembler, and a link editor. The cc command invokes each of these components automatically unless you use command-line options to specify otherwise.
Table A–15 discusses all the options available with cc.
The following figure shows the organization of the C compilation system.
The following table summarizes the components of the compilation system.
Table 1–1 Components of the C Compilation System
Component |
Description |
Notes on Use |
---|---|---|
Preprocessor |
-Xs only |
|
Compiler (preprocessor built in for non-Xs modes) | ||
Static synchronization bug detection |
(SPARC) |
|
Code optimizer |
-O, -xO2, -xO3, -xO4, -xO5, -fast |
|
Assembler | ||
Code generator, inliner, assembler |
(SPARC) |
|
Interprocedural Optimizer |
(SPARC) |
|
Postoptimizer |
(SPARC) |
|
Intermediate code translator |
(x86) |
|
Code generator |
(x86) |
|
Interprocedure analyzer |
(x86) |
|
Linker | ||
Manipulate comment section |
-mr |