Sun Studio 12: C User's Guide

A.1.7 Compiled-Code Options

Table A–7 Compiled-Code Options Table

Option  

Action  

-c

Directs the compiler to suppress linking with ld(1) and to produce a .o file in the current working directory for each source file

-o

Names the output file

-S

Directs the compiler to produce an assembly source file but not to assemble the program.