Contents|Index|Previous|Next
GNU
CC command options
When you invoke the GNU
compiler, GCC, it normally does preprocessing, compilation, assembly and
linking. The overall options allow you to stop this process at intermediate
stages. Some options control the preprocessor, others the compiler itself,
while still other options control the assembler and linker. For example,
the ‘-c’ option (see Options
controlling the kind of output) says to compile or to assemble
the source files without running the linker. Then the output consists of
object files’ output by the assembler. Other options are passed on to one
stage of processing. Most of the command line options that you can
use with GCC are useful for C programs; when an option is only useful with
another language (usually C++), the explanation explicitly states such
usage.
The following documentation
discusses the GNU CC command options. See Options
summary for a list of options, grouped by type.
Top|Contents|Index|Previous|Next