Output Files Options

The output options let you specify names and directory locations for files that result from the compilation.

Descriptions of Output Files Options

-c

Default: Off

Specifies that the compiler should compile to object (.o file) only and not link.

-fcode-asm

Default: Off

Specifies that the compiler should produce an assembly file with optional code annotations. This option requires the use of the -S option.

-fsource-asm

Default: Off

Specifies that the compiler should produce an assembly file with optional source annotations. This option requires the use of the -S option.

-f[no]verbose-asm

Default: On when -S is specified

Specifies that the compiler should produce an assembly file with compiler comments, including options and version information.This option requires the use of the -S option.

-module path

Specifies the directory (path) where module files (file extension .mod) are placed. See also Searching for Include and .mod Files,

-ofilename

Default: Off

Specifies the name of the output file.

If -c is specified, -o specifies the name of the object file.

If -S is specified, -o specifies the name of the assembly listing file.

If neither -c nor -S is specified, -o specifies the name of the executable file.

-Qinstall dir

Default: Off

Specifies dir as the root directory for the compiler installation.

-Qlocation,tool,path

Default: Off

Specifies the directory location of supporting tools, specifically the preprocessor, compiler, assembler, and linker.

For syntax and details, see Using -Qlocation to Specify an Alternate Location for a Tool.

-Qoption,tool,options

Default: Off

Passes options to tools, specifically the preprocessor, compiler, assembler, and linker.

For syntax and details, see Using -Qoption to Pass Options to Tools.

-S

Default: Off

Specifies that the compiler should compile to assembly (.s) file only and not link.

-use_asm

Default: Off

Specifies that objects should be produced through the assembler.