Specifications
CAVR-4
172
Options summary
AVR® IAR C/C++ Compiler
Reference Guide
--omit_types Excludes type information
--only_stdout Uses standard output only
--preinclude includefile Includes an include file before
reading the source file
--preprocess[=[c][n][l]] {filename|directory} Generates preprocessor
output
--public_equ symbol[=value] Defines a global named
assembler label
-r Generates debug information
--remarks Enables remarks
--require_prototypes Verifies that prototypes are
proper
--root_variables Specifies variables as
__root
-s[2|3|6|9] Optimizes for speed
--segment memory_attr=segment_name Changes segment name base
--separate_cluster_for_initilized_variables Separates initialized and
non-initialized variables
--silent Sets silent operation
--spmcr_address Defines the SPMCR address
--strict_ansi Checks for strict compliance
with ISO/ANSI C
--string_literals_in_flash Puts “string” in the
__nearflash or
__farflash segment
-v[0|1|2|3|4|5|6] Processor variant
--version1_calls Uses ICCA90 calling
convention
--warnings_affect_exit_code Warnings affects exit code
--warnings_are_errors Warnings are treated as
errors
-y Places constants and literals
-z[2|3|6|9] Optimizes for size
Command line option Description
Table 43: Compiler options summary (Continued)