-output


< Compile Options / Object Options >

[Format]

-output = <sub> [=<file name>]
          <sub>: { prep | src | obj | abs | hex | sty }

 

-

[Default]

The default for this option is output=obj.

[Description]

-

This option specifies the output file type.

-

The suboptions and output files are shown in the following table.

-

If no <file name> is specified, a file will be generated with an extension, that is shown in the following table, appended to the source file name input at the beginning.

Table 2.3

Suboption Output Format

Suboption

Output File Type

Extension When File Name is Not Specified

prep

Source file after preprocessed

C (C89, C99) source file: p

C++ source file: pp

src

Assembly-language file

src

obj

Relocatable file

obj

abs

Absolute file

abs

hex

Intel hex type file

hex

sty

Motorola S type file

mot

Note

Relocatable files are files output from the assembler.
Absolute files, Intel hex type files, and Motorola S type files are files output from the optimizing linkage editor.

[Remarks]

-

An intermediate file used to generate a file of the specified type is stored in the specified folder; however, when no folder has been specified, the intermediate file is stored in the current folder.