This section explains options for the compile phase.
Caution about options are shown below.
When numerical values are specified as parameters, decimal or hexadecimal numbers which starts with "0x" ("0X") can be specified. |
When a file name is specified as a parameter, it can include the path (absolute path or relative path). |
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.
This option specifies the folder to save an object file generated during compilation. |
||
This option specifies the folder to save an assembly source file generated during compilation. |
||
This option specifies the folder to save the preprocessed file. |
||
This option enhances information for source debugging at optimization. |
||
This option specifies that an object file common to the various devices is generated. |
||
This option specifies that an object for the specified core is generated. |
||
This option executes only preprocess processing for the input file. |
||
This option defines preprocessor macros and assembler symbols. |
||
This option deletes the definition of the preprocessor macro or assembler symbol by the -D option. |
||
This option specifies the file that is included at the top of the compilation unit. |
||
This option controls outputting the result of preprocessing. |
||
This option processes as making C source program comply strictly with the ANSI standard. |
||
This option specifies which integer type the enumeration type handles. |
||
This option checks source code against the MISRA-C: 2004 rules. |
||
This option checks source code against the MISRA-C: 2012 rules. |
||
This option specifies files that will not be checked against the MISRA-C: 2004 rules or MISRA-C: 2012 rules. |
||
This option enables the source-code checking of the MISRA-C: 2004 rules or MISRA-C: 2012 rules, which are partially suppressed by the extended language specifications. |
||
This option selects the use of the half-precision floating-point type. |
||
This option specifies the optimization level or the details of each optimization items. |
||
This option performs inline expansion of standard library functions "strcpy", "strcmp", "memcpy", and "memset" calls. |
||
This option performs optimization with consideration for the type of the data indicated by the pointer. |
||
This option merges two or more C source files and compiles them. |
||
This option performs optimization assuming that the files to be compiled comprise the entire program. |
||
This option outputs a C source program as a comment to the assembly source file. |
||
This option specifies a mode in which the code of a switch statement is to be output. |
||
This option controls generating floating-point calculation instructions. |
||
This option controls generating function-call branch instructions. |
||
This option generates the div and divu instructions for division. |
||
This option detects invalid operation exceptions in floating-point comparison. |
||
This option specifies the generation of a multi-core program. |
||
This option specifies the data size of double and long double type. |
||
This option specifies the mode for rounding floating-point constants. |
||
This option specifies the alignment value for branch destination addresses. |
||
-Xstack_protector/-Xstack_protector_all [Professional Edition only] |
This option generates a code for detection of stack smashing. |
|
This option suppresses outputting warning messages of the specified number. |
||