Atmel CAVR-4 ユーザーズマニュアル

ページ / 323
CAVR-4
Part 2. Compiler reference
Compiler options
179
If you build your own customized runtime library, you should also create a 
corresponding customized library configuration file, which must be specified to the 
compiler. For more information, seBuilding and using a customized library, page 62.
Note: This option only applies to the IAR DLIB runtime environment.
To set the related option in IAR Embedded Workbench, select 
Project>Options>General Options>Library Configuration.
--do_cross_call
--do_cross_call
Using this option forces the compiler to run the cross-call optimizer, regardless of the 
optimization level. The cross-call optimizer is otherwise only run at high size 
optimization (z9).
To set the related option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Optimization.
-e
-e 
In the command line version of the AVR IAR C/C++ Compiler, language extensions are 
disabled by default. If you use language extensions such as AVR-specific keywords and 
anonymous structs and unions in your source code, you must enable them by using this 
option. 
Note: The 
-e
 option and the 
--strict_ansi
 option cannot be used at the same time.
For additional information, see Special support for embedded systems, page 12.
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Language.
--ec++
--ec++
In the AVR IAR C/C++ Compiler, the default language is C. If you use Embedded C++, 
you must use this option to set the language the compiler uses to Embedded C++.
To set the equivalent option in the IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Language.