Compilation Output

See the Specifying Compilation Output section for more information.

Option

Description

Default

-c

Compile to object only (.o), do not link.

OFF

-fcode-asm

Inserts code byte annotations in assembly file produced with -S.

OFF

-fsource-asm

Inserts high-level source code annotations in assembly file produced with -S.

OFF

-fverbose-asm

Inserts compiler comments including compiler version and options used in assembly file. Enabled by default when producing an assembly file (with -S).

OFF

-fnoverbose-asm

Disables inserting compiler comments in an assembly file ( -fverbose-asm).

OFF

-list

Prints a source listing to stdout.

OFF

-list -showinclude

Prints a source listing to stdout with contents of include files expanded.

OFF

-ofile

Produces the executable file name specified in file;
for example, -omyfile.
Combined with -S, indicates assembly listing file name.
Combined with -c, indicates object file name.

OFF

-S

Produce assembly file named file.s with optional code or source annotations. Do not link.

OFF