Go to main content
Oracle® Developer Studio 12.6: C User's Guide

Exit Print View

Updated: July 2017
 
 

1.8 Organization of the Compiler

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 35 discusses all the options available with cc.

The following figure shows the organization of the C compilation system.

Figure 1  Organization of the C Compilation System

image:Organization of the compiler components: front-end, optimizer, code generator, interprocedural optimizer, link editor

The following table summarizes the components of the compilation system.

Table 1  Components of the C Compilation System
Component
Description
Notes on Use
cpp
Preprocessor
-Xs only
acomp
Compiler
ssbd
Static synchronization bug detection
(SPARC)
iropt
Code optimizer
-O, -xO2, -xO3, -xO4, -xO5, -fast
fbe
Assembler
cg
Code generator, inliner, assembler
ipo
Interprocedural Optimizer
postopt
Postoptimizer
(SPARC)
ube
Code generator
(x86)
ld
Linker
mcs
Manipulate comment section
-mr