Sun Studio 12: C User's Guide

1.5 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 A–15 discusses all the options available with cc.

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

Figure 1–1 Organization of the C Compilation System

Diagram showing the components 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  

cpp

Preprocessor 

-Xs only

acomp

Compiler (preprocessor built in for non-Xs modes)

 

ssbd

Static synchronization bug detection 

(SPARC)

iropt

Code optimizer 

-O, -xO2, -xO3, -xO4, -xO5, -fast

fbe

Assembler 

 

cg

Code generator, inliner, assembler 

(SPARC)

ipo

Interprocedural Optimizer 

(SPARC)

postopt

Postoptimizer 

(SPARC)

ir2hf

Intermediate code translator 

(x86) 

ube

Code generator 

(x86) 

ube_ipa

Interprocedure analyzer 

(x86) 

ld

Linker 

 

mcs

Manipulate comment section 

-mr