Everything
2.2 I/O Files

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

Table 2.1

I/O Files of ccrl Command

File Type

Extension

I/O

Description

C source file

.c

I

Source file described in C language

This is created by the user.

C++ source file

.cpp, .cc, .cp

I

Source file described in C++ language

This is described by the user.

Preprocessed file

.iNote 1

O

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

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 -asmopt=-prn_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 -lnkopt=-form=library option is specified.

Library backup file

.lbk

O

This file saves the contents of existing library files before they are overwritten by the library generator.

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 -lnkopt=-form=absolute option is specified.

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

Relocatable file

.relNote 1

I/O

Relocatable object file

This file is output when the -lnkopt=-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 -lnkopt=-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 -lnkopt=-form=stype option is specified.

Binary file

.binNote 1

I/O

Load module file converted into the binary format

This file is output when the -lnkopt=-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 -lnkopt=-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 -lnkopt=-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 -lnkopt=-list option is specified.

Stack information file

.sni

O

List file which has information of the stack capacity

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

Variable/function
information file

.hNote 1

I/O

File containing declarations of the saddr variable or callt function

This file is output when the -lnkopt=-vfinfo option is specified.

Static analysis information file

free

I/O

File which has information from the static analysis result

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

This file is output when the -cref 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 -error_file option is specified.

Subcommand file

free

I

File which contains the parameters of the execution program

This is created by the user.

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.