- IAR Embedded Workbench for RH850 3.20.x
- IAR C/C++ Development
- Compiler options
- Summary of compiler options
Summary of compiler options
This table summarizes the compiler command line options:
Command line option | Description |
|---|---|
| Allows misaligned data accesses |
| Permits bit instructions on volatile accesses for all data types |
| Specifies the C89 dialect |
| Treats |
| Treats |
| Specifies a CPU core |
| Specifies Standard C++ |
| Defines preprocessor symbols |
| Specifies the data model |
| Generates debug information |
| Lists file dependencies |
| Enables/disables warnings for deprecated features |
| Treats these as errors |
| Treats these as remarks |
| Suppresses these diagnostics |
| Treats these as warnings |
| Specifies the format for printed diagnostics |
| Lists all diagnostic messages |
| Disables the workaround for the G3M hardware error |
| Discards unused public symbols |
| Uses the system include files for the DLIB library and determines which configuration of the library to use |
| For user-named sections, treats explicit initializations to zero as zero initializations |
| Forces the compiler to use 32-bit or 64-bit doubles |
| Lists in a structured format all output files |
| Enables IAR language extensions |
| Enables 8-byte alignment for |
| Enables the Standard C keyword |
| Enables short addressing by locking the |
| Sets the minimum size on enumeration types |
| Specifies the allowed number of errors before compilation stops |
| Extends the command line |
| Extends the command line, optionally with a dependency |
| Enables the floating-point unit and sets the precision |
| Places each function of the source file in a separate section in the resulting object file |
| Enables interrupt logging in the debugger |
| Enables guards for function static variable initialization |
| Lists all referred source files and header files |
| Specifies include file path |
| Creates a list file |
| Enables IAR or GNU language extensions |
| Makes the compiler and linker use the Libc++ library |
| Locks ten registers |
| Reserves 0–5 registers for use as extra global pointer registers |
| Permits different register locking levels |
| Obtains positions inside macros in diagnostic messages |
| Specifies the limit for |
| Specifies the limit for |
| Enables multi-file compilation |
| Disables the generation of bit instructions |
| Omits the Byte Order Mark for UTF-8 output files |
| Disables output of call frame information |
| Disables static clustering optimizations |
| Disables code motion optimization |
| Disables cross-call optimization |
| Disables common subexpression elimination |
| Suppresses generation of the data model runtime attribute |
| Sets the default value for |
| This option has no effect and is included for portability reasons |
| Disables section fragment handling |
| Disables function inlining |
| Disables the use of the |
| Disables normalization of paths in the symbols |
| Removes the path from the return value of the symbols |
| This option has no effect and is included for portability reasons |
| Disables the instruction scheduler |
| Relaxes the normal restrictions for code size expansion when optimizing for speed |
| Disables destruction of C++ static variables at program exit |
| Disables the automatic search for system include files |
| Disables type-based alias analysis |
| Disables the use of typedef names in diagnostics |
| Specifies the default syntax rules for IAR type attributes |
| Disables loop unrolling |
| Disables all warnings |
| Disables wrapping of diagnostic messages |
| Generates a warning when the path used for opening a source header file is not in the same case as the path in the file system |
| Sets the optimization level |
| Sets the object filename. Alias for |
| Uses standard output only |
| Sets the object filename |
| Sets the maximum number of instantiations of a given C++ template |
| Lists the predefined symbols. |
| Includes an include file before reading the source file |
| Generates preprocessor output |
| Defines a global named assembler label |
| Generates debug information. Alias for |
| Relaxes the rules for optimizing floating-point expressions |
| Enables remarks |
| Verifies that functions are declared before they are defined |
| Generates code that usesposition-independent references to access code and read-only data |
| Changes a section name |
| Sets silent operation |
| Specifies the encoding for source files |
| Enables stack protection |
| Checks for strict compliance with Standard C/C++ |
| Specifies the path for system include files |
| Specifies the encoding for text output files |
| Specifies the same syntax rules for IAR type attributes as for |
| Uses C++ inline semantics in C |
| Use paths as written in debug information |
| Uses |
| Uses the UTF-8 encoding for text input files |
| Sends compiler output to the console and then exits |
| Enables VLA support |
| Makes the compiler warn when C-style casts are used in C++ source code |
| Makes the compiler warn about constructors that do not initialize all members |
| Makes the compiler warn about fields without explicit initializers |
| Warnings affect exit code |
| Warnings are treated as errors |