Atmel CAVR-4 ユーザーズマニュアル
CAVR-4
178
Descriptions of options
AVR® IAR C/C++ Compiler
Reference Guide
--diagnostics_tables
--diagnostics_tables {filename|directory}
Use this option to list all possible diagnostic messages in a named file. This can be very
convenient, for example, if you have used a pragma directive to suppress or change the
severity level of any diagnostic messages, but forgot to document why.
convenient, for example, if you have used a pragma directive to suppress or change the
severity level of any diagnostic messages, but forgot to document why.
This option cannot be given together with other options.
If a
filename
is specified, the compiler stores the output in that file.
If a
directory
is specified, the compiler stores the output in that directory, in a file with
the name
diagnostics_tables.txt
. To specify the working directory, replace
directory
with a period (
.
).
Example 1
To output a list of all possible diagnostic messages to the file
diag.txt
, use:
--diagnostics_tables diag
Example 2
If you want to generate a table to a file
diagnostics_tables.txt
in the working
directory, you could use:
--diagnostics_tables .
Both
\
and
/
can be used as directory delimiters.
--disable_direct_mode
--disable_direct_mode
This option prevents the compiler from generating the direct addressing mode
instructions
instructions
LDS
and
STS
.
Using this option may in some cases reduce the size of the object code.
--dlib_config
--dlib_config filename
Each runtime library has a corresponding library configuration file. Use the
--dlib_config
option to specify the library configuration file for the compiler. Make
sure that you specify a configuration file that corresponds to the library you are using.
All prebuilt runtime libraries are delivered with corresponding configuration files. You
can find the library object files and the library configuration files in the directory
can find the library object files and the library configuration files in the directory
avr\lib\dlib
. For examples and a list of prebuilt runtime libraries, see Using a