[Link Options] tab


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

 

(1) [Debug Information]

(2) [Output File]

(3) [Library]

(4) [Hex Output]

(5) [List]

(6) [Others]

Remark

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

Caution 1.

This tab is not displayed for the library project.

Caution 2.

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.

(2)

[Output File]

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

Output folder

Specify the output folder.

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.

If this is blank, it is assumed that the project folder has been specified.

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

Default

%BuildModeName%

How to change

Directly enter in the text box or edit by the Browse For Folder dialog box which appears when clicking the [...] button.

Restriction

Up to 247 characters

Output file name

Specify the output file name.

The following placeholders are supported.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

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

Default

%ProjectName%

How to change

Directly enter in the text box.

Restriction

Up to 259 characters

(3)

[Library]

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

Alternate Library Directory

Specify the -YL 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.

Uppercase characters and lowercase characters are not distinguished for the library directory names.

Default

Blank

How to change

Directly enter in the text box or edit by the Browse For Folder dialog box which appears when clicking the [...] button.

Restriction

Up to 247 characters

Libraries

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 library file name is displayed as the subproperty.

Default

Libraries[number of defined items]

How to change

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

-> Edit by the Specify Using Library File dialog box which appears when clicking the [Browse...] button.

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

Restriction

Up to 259 characters

Up to 65536 items can be specified.

System libraries

The library files which CS+ sets during linking are displayed.

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

The system library file name is displayed as the subproperty.

Default

System libraries[number of defined items]

How to change

Changes not allowed

(4)

[Hex Output]

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

Generate Additional Output

Specify the -srec or -hex option of the compiler driver.

Default

S-Record File(-srec)

How to change

Select from the drop-down list.

Restriction

S-Record File(-srec)

Specifies the -srec option.

HEX386 File(-hex)

Specifies the -hex option.

Not specify(No option specified)

Does not specify Generate Additional Output.

Output folder

Specify the folder which the hex file is output.

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.

If this is blank, it is assumed that the project folder has been specified.

This corresponds to the -srec or -hex option of the compiler driver.

This property is displayed only when other than [Not specify(No option specified)] in the [Generate Additional Output] property is selected.

Default

%BuildModeName%

How to change

Directly enter in the text box or edit by the Browse For Folder dialog box which appears when clicking the [...] button.

Restriction

Up to 247 characters

Output file name

Specify the hex file name.

If the extension is omitted, “.run” is automatically added.

The following placeholders are supported.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

This corresponds to the -srec or -hex option of the compiler driver.

This property is displayed only when other than [Not specify(No option specified)] in the [Generate Additional Output] property is selected.

Default

%ProjectName%.run

How to change

Directly enter in the text box.

Restriction

Up to 259 characters

(5)

[List]

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

Map File Generation

Specify the -map option of the compiler driver.

Default

Generate Default Map File(-map)

How to change

Select from the drop-down list.

Restriction

Generate Default Map File(-map)

Specifies the -map option.

Not specify(No option specified)

Does not specify the -map option.

(6)

[Others]

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

Start Files

Specify the -nostartfiles option of the compiler driver.

Default

Not specify(No option specified)

How to change

Select from the drop-down list.

Restriction

Do Not Use Start Files(-nostartfiles)

Specifies the -nostartfiles option.

Not specify(No option specified)

Does not specify the -nostartfiles option.

Commands executed before link processing

Specify the command to be executed before link 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.

%LinkedFile%: Replaces with the absolute path of the output file under link processing.

%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 link processing.

The placeholders can be described in the script.

The specified command is displayed as the subproperty.

Default

Commands executed before link 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 link processing

Specify the command to be executed after link 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.

%LinkedFile%: Replaces with the absolute path of the output file under link processing.

%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 link processing.

The placeholders can be described in the script.

The specified command is displayed as the subproperty.

Default

Commands executed after link 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 link option to be added additionally.

The options set here are added at the end of the link 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