Everything
2.3 Environment Variables

Environment variables are listed below.

Table 2.2

Environment Variables

No.

Environment Variable

Description

Default When Specification is Omitted

1

path

Specifies a storage directory for the execution file.

Specification cannot be omitted.

2

BIN_RX

Specifies the directory in which ccrx is stored.

<ccrx storage directory>

Specification cannot be omitted when the lbgrx command is used.

3

ISA_RX *1

Selects an instruction-set architecture.

<Instruction-set architectures>

RXV1

RXV2

RXV3 [V3.00.00 or later]

No value is set when the specification is omitted.

4

INC_RX

Specifies a directory in which an include file of the compiler is stored.

<ccrx storage directory>

\..\include

5

INC_RXA

Specifies a directory in which an include file of the assembler is stored.

No value is set when the specification is omitted.

6

TMP_RX

Specifies a directory in which a temporary file is generated.

%TEMP% when the ccrx command is used.

7

HLNK_LIBRARY1 HLNK_LIBRARY2 HLNK_LIBRARY3

Specifies a default library name for the optimizing linkage editor. Libraries which are specified by a library option are linked first. Then, if there is an unresolved symbol, the default libraries are searched in the order of 1, 2, 3.

No value is set when the specification is omitted.

8

HLINK_TMP

Specifies a folder in which the optimizing linkage editor generates temporary files. If HLNK_TMP is not specified, the temporary files are created in the current folder.

No value is set when the specification is omitted.

9

HLINK_DIR

Specifies an input file storage folder for the optimizing linkage editor. The search order for files which are specified by the input or library option is the current folder, then the folder specified by HLNK_DIR.

However, when a wild card is used in the file specification, only the current folder is searched.

No value is set when the specification is omitted.

10

CPU_RX *1

Specifies the CPU type.

<CPU types>

RX600

RX200

No value is set when the specification is omitted.

*1) When both ISA_RX and CPU_RX are defined, ISA_RX takes precedence.