Everything
 

[Compile Options] tab


This tab shows the detailed information on the compile phase categorized by the following and the configuration can be changed.

 

(1) [Debug Information]

(2) [Optimization]

(3) [Preprocess]

(4) [Output Code]

(5) [Others]

Remark

For details on compiler driver options, refer to "MULTI: Building Applications for Embedded V850 and RH850" released by Green Hills Software, LLC. Please do not contact Green Hills Software, LLC with any inquiries about the CCRH850 build-tool plugin of CS+.

Caution

This tab is displayed only when the current project has been created with [Empty Application(GHS CCRH850)] or [Library(GHS CCRH850)] selected as the project type.

[Description of each category]

(1)

[Debug Information]

The detailed information on debug information is displayed and the configuration can be changed.

Debugging Level

Specify the -G option of the compiler driver.

Default

MULTI(-G)

How to change

Select from the drop-down list.

Restriction

MULTI(-G)

Specifies the -G option.

Not specify(No option specified)

Does not specify the -G option.

Generate MULTI and Native Information

Specify the -dwarf2 option of the compiler driver.

Default

On(-dwarf2)

How to change

Select from the drop-down list.

Restriction

On(-dwarf2)

Specifies the -dwarf2 option.

Not specify(No option specified)

Does not specify the -dwarf2 option.

(2)

[Optimization]

The detailed information on the optimization is displayed and the configuration can be changed.

Optimization Strategy

Specify the -O option of the compiler driver.

Default

Optimize for Debuggability (-Odebug)

How to change

Select from the drop-down list.

Restriction

Optimize for Debuggability (-Odebug)

Specifies the -Odebug option.

Optimize for General Use (-O)

Specifies the -O option.

Optimize for Size (-Osize)

Specifies the -Osize option.

Optimize for Speed (-Ospeed)

Specifies the -Ospeed option.

No Optimizations (-Onone)

Specifies the -Onone option.

Not specify(No option specified)

Does not specify Optimization Strategy.

(3)

[Preprocess]

The detailed information on preprocessing is displayed and the configuration can be changed.

Include Directories

Specify the -I option of the compiler driver.

The following placeholders are supported.

%ActiveProjectDir%: Replaces with the absolute path of the active project folder.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectDir%: Replaces with the absolute path of the main project folder.

%MainProjectName%: Replaces with the main project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%ProjectDir%: Replaces with the absolute path of the project folder.

%ProjectName%: Replaces with the project name.

%TempDir%: Replaces with the absolute path of the temporary folder.

%WinDir%: Replaces with the absolute path of the Windows system folder.

The reference point of the path is the project folder.

The specified include path is displayed as the subproperty.

Uppercase characters and lowercase characters are not distinguished for the include paths.

Default

Include Directories[number of defined items]

How to change

Edit by the Path Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 247 characters

Up to 256 items can be specified.

System include paths

Change the specified order of the include paths which CS+ sets during compiling.

The following placeholders are supported.

%ActiveProjectDir%: Replaces with the absolute path of the active project folder.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectDir%: Replaces with the absolute path of the main project folder.

%MainProjectName%: Replaces with the main project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%ProjectDir%: Replaces with the absolute path of the project folder.

%ProjectName%: Replaces with the project name.

%TempDir%: Replaces with the absolute path of the temporary folder.

%WinDir%: Replaces with the absolute path of the Windows system folder.

The system include path is searched with lower priority than the additional include path.

The reference point of the path is the project folder.

This corresponds to the -I option of the compiler driver.

The include path is displayed as the subproperty.

Default

System include paths[number of defined items]

How to change

Edit by the System Include Path Order dialog box which appears when clicking the [...] button.

Restriction

Changes not allowed (Only the specified order of the include paths can be changed.)

Define Preprocessor Symbol

Specify the -D option of the compiler driver.

Specify in the format of "macro name=defined value", with one macro name per line.

The specified macro is displayed as the subproperty.

Default

Define Preprocessor Symbol[number of defined items]

How to change

Edit by the Text Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 256 characters

Up to 256 items can be specified.

(4)

[Output Code]

The detailed information on output codes is displayed and the configuration can be changed.

Special Data Area

Specify the -sda and -zda options of the compiler driver.

Default

Not specify(No option specified)

How to change

Select from the drop-down list.

Restriction

Small Data Area(-sda)

Specifies the -sda option.

Small Data Area with Threshold(-sda=size)

Specifies the -sda=size option.

Zero Data Area with Threshold(-zda=size)

Specifies the -zda=size option.

Not specify(No option specified)

Does not specify Special Data Area.

Threshold Value

Specify Threshold Value of the -sda or -zda option of the compiler driver.

This property is displayed when [Small Data Area with Threshold(-sda=size)] or [Zero Data Area with Threshold(-zda=size)] in the [Special Data Area] property is selected.

Default

Blank

How to change

Directly enter in the text box.

Restriction

Decimal number or blank

23-bit SDA

Specify the -large_sda option of the compiler driver.

Default

Not specify(No option specified)

How to change

Select from the drop-down list.

Restriction

Generate 23-bit SDA relocations for load/store instructions(-large_sda)

Specifies the -large_sda option.

Not specify(No option specified)

Does not specify the -large_sda option.

(5)

[Others]

Other detailed information on compilation is displayed and the configuration can be changed.

Intermediate Forms of Output

Specify the -c option of the compiler driver.

Default

Object File(-c)

How to change

Select from the drop-down list.

Restriction

Object File(-c)

Specifies the -c option.

Not specify(No option specified)

Does not specify the -c option.

Commands executed before compile processing

Specify the command to be executed before compile processing.

Use the call instruction to specify a batch file (example: call a.bat).

The following placeholders are supported.

%ActiveProjectDir%: Replaces with the absolute path of the active project folder.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%CompiledFile%: Replaces with the absolute path of the output file under compiling.

%InputFile%: Replaces with the absolute path of the file to be compiled.

%MainProjectDir%: Replaces with the absolute path of the main project folder.

%MainProjectName%: Replaces with the main project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%Options%: Replaces with the command line option under build execution.

%OutputDir%: Replaces with the absolute path of the output folder.

%OutputFile%: Replaces with the absolute path of the output file.

%Program%: Replaces with the program name under execution.

%ProjectDir%: Replaces with the absolute path of the project folder.

%ProjectName%: Replaces with the project name.

%TempDir%: Replaces with the absolute path of the temporary folder.

%WinDir%: Replaces with the absolute path of the Windows system folder.

When "#!python" is described in the first line, the contents from the second line to the last line are regarded as the script of the Python console, and then executed before compile processing.

The placeholders can be described in the script.

The specified command is displayed as the subproperty.

Default

Commands executed before compile processing[number of defined items]

How to change

Edit by the Text Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 1023 characters

Up to 64 items can be specified.

Commands executed after compile processing

Specify the command to be executed after compile processing.

Use the call instruction to specify a batch file (example: call a.bat).

The following placeholders are supported.

%ActiveProjectDir%: Replaces with the absolute path of the active project folder.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%CompiledFile%: Replaces with the absolute path of the output file under compiling.

%InputFile%: Replaces with the absolute path of the file to be compiled.

%MainProjectDir%: Replaces with the absolute path of the main project folder.

%MainProjectName%: Replaces with the main project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%Options%: Replaces with the command line option under build execution.

%OutputDir%: Replaces with the absolute path of the output folder.

%OutputFile%: Replaces with the absolute path of the output file.

%Program%: Replaces with the program name under execution.

%ProjectDir%: Replaces with the absolute path of the project folder.

%ProjectName%: Replaces with the project name.

%TempDir%: Replaces with the absolute path of the temporary folder.

%WinDir%: Replaces with the absolute path of the Windows system folder.

When "#!python" is described in the first line, the contents from the second line to the last line are regarded as the script of the Python console, and then executed after compile processing.

The placeholders can be described in the script.

The specified command is displayed as the subproperty.

Default

Commands executed after compile processing[number of defined items]

How to change

Edit by the Text Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 1023 characters

Up to 64 items can be specified.

Other additional options

Input the compile option to be added additionally.

The options set here are added at the end of the compile options group.

Default

Blank

How to change

Directly enter in the text box or edit by the Character String Input dialog box which appears when clicking the [...] button.

Restriction

Up to 32767 characters