Everything
2.2 I/O Files

The I/O files of the ccrh command are shown below.

Table 2.1

I/O Files of ccrh Command

File Type

Extension

I/O

Description

C source file

.c

I

Source file described in C language

This is created by the user.

Preprocessed file

.iNote 1

O

File which the execution result of preprocess processing for the input file is output

This is an ASCII image file.

This file is output when the -P option is specified.

Assembly source file

.asmNote 1

O

Assembly language file generated from C source file by compilation

This file is output when the -S option is specified.

.asm

.s

I

Source file described in assembly language

This is created by the user.

Header file

free

I

File referred by source files

This file is described in C language or assembly language.

This is created by the user.

The extension is free, but the following is recommended.

-

#include directive: .h

-

$include control instruction: .inc

Object file

.objNote 1

I/O

ELF-format file including machine-language information, relocation information relating to machine-language allocation addresses, and symbol information

Assemble list fileNote 2

.prnNote 1

O

List file which has information from the assemble result

This file is output when the -Xasm_option=-Xprn_path option is specified.

Library file

.libNote 1

I/O

ELF-format file in which two or more object files are included

This file is output when the -Xlk_option=-form=library option is specified.

Load module file

.absNote 1

I/O

ELF-format file of the object code of the link result

This is the input file when a hex file is output.

This file is output when the -Xlk_option=-form=absolute option is specified.

If you specify the -Xlk_option option but not the -form option, the command assumes that the above option has been specified.

Relocatable file

.relNote 1

O

Relocatable object file

This file is output when the -Xlk_option=-form=relocate option is specified.

Intel HEX fileNote 2

.hexNote 1

I/O

Load module file converted into the Intel HEX format

This file is output when the -Xlk_option=-form=hexadecimal option is specified.

Motorola S-record fileNote 2

.motNote 1

I/O

Load module file converted into the Motorola S-record

This file is output when the -Xlk_option=-form=stype option is specified.

Binary file

.binNote 1

O

Load module file converted into the binary format

This file is output when the -Xlk_option=-form=binary option is specified.

Symbol address file

.fsy

I/O

Assembly source file where external defined symbols are described in assembler directives

This file is output when the -Xlk_option=-fsymbol option is specified.

Link map fileNote 2

.mapNote 1

O

List file which has information from the link result

This file is output when the -Xlk_option=-list option is specified.

Library list fileNote 2

.lbpNote 1

O

List file which has information from the library creation result

This file is output when the -Xlk_option=-list option is specified.

Stack information file

.sni

O

List file which has information of the stack capacity

This file is output when the -Xlk_option=-stack option is specified.

External symbol allocation information file

.blsNote 1

O

External variable allocation information file used by the compiler in optimizing access to external variables

This file is output when the -Omap option is specified.

Static analysis information file

free

I/O

Information file which this product uses

The extension is free, but ".cref" is recommended.

This file is output when the -Xcref option is specified.

Error message file

free

O

File which contains error messages

The extension is free, but ".err" is recommended.

This file is output when the -Xerror_file option is specified.

Subcommand file

free

I

File which contains the parameters of the execution program

This is created by the user.

The exclusive control check setting file

free

I

This is the file input from CS+.

Tool usage information file

.ud

.udm

O

File which is output for collecting tool usage information

Note 1.

The extension can be changed by specifying the option.

Note 2.

See "3. OUTPUT FILES" for details about each file.