5.7.2 Options for Controlling the Kind of Output

The options tabulated below control the kind of output produced by the compiler and are discussed in the sections that follow.

Table 5-6. Kind-of-Output Control Options
Option Definition
-c Stop compilation before the link step, producing an intermediate file.
-E Stop compilation after preprocessing, producing a preprocessed file.
-o file Place the output in a file with the specified name.
-S Stop compilation before the assembly step, producing an assembly file output.
-specs=file Overrides the standard specs file.
-v Print the commands executed during each stage of compilation.
-x Specify the language of a source file regardless of its file extension.
--help Print a description of the command line options.