Download RH850 Build - Renesas Electronics

Transcript
CubeSuite+ V2.01.00
B.5.1
APPENDIX B COMMAND REFERENCE
Compile options
This section explains options for the compile phase.
Caution about options are shown below.
- Uppercase characters and lowercase characters are distinguished for options.
- When numerical values are specified as parameters, decimal or hexadecimal numbers which starts with "0x"
("0X") can be specified.
Uppercase characters and lowercase characters are not distinguished for the alphabet of hexadecimal numbers.
- When a file name is specified as a parameter, it can include the path (absolute path or relative path).
When a file name without the path or a relative path is specified, the reference point of the path is the current
folder.
- When a parameter includes a space (such as a path name), enclose the parameter in a pair of double quotation
marks (").
The types and explanations for options are shown below.
Table B-2. Compile Options
Classification
Version/help display
specification
Output file
specification
Option
Description
-V
This option displays the version information of ccrh.
-h
This option displays the descriptions of ccrh options.
-o
This option specifies the output file name.
-Xobj_path
This option specifies the folder to save an object file generated
during compilation.
-Xasm_path
This option specifies the folder to save an assembly source file
generated during compilation.
Source debugging
-Xprep_path
This option specifies the folder to save the preprocessed file.
-g
This option outputs information for source debugging.
-Xcommon
This option specifies that an object file common to the various
control
Device specification
devices is generated.
-Xcpu
This option specifies that an object for the specified core is
generated.
Processing interrupt
specification
Preprocessor control
-P
This option executes only preprocess processing for the input file.
-S
This option does not execute processing after assembling.
-c
This option does not execute processing after linking.
-D
This option defines preprocessor macros and assembler symbols.
-U
This option deletes the definition of the preprocessor macro or
assembler symbol by the -D option.
-I
This option specifies the folder to search include files.
-Xpreinclude
This option specifies the file that is included at the top of the
compilation unit.
-Xpreprocess
R20UT2585EJ0100 Rev.1.00
Apr 01, 2013
This option controls outputting the result of preprocessing.
Page 331 of 485