Atmel CAVR-4 Manual De Usuario

Descargar
Página de 323
CAVR-4
192
Descriptions of options
AVR® IAR C/C++ Compiler
Reference Guide
--no_wrap_diagnostics
--no_wrap_diagnostics 
By default, long lines in compiler diagnostic messages are broken into several lines to 
make the message easier to read. Use this option to disable line wrapping of diagnostic 
messages.
-o
-o {filename|directory
Use the 
-o
 option to specify an output file for object code. 
If a 
filename
 is specified, the compiler stores the object code in that file.
If a 
directory
 is specified, the compiler stores the object code in that directory, in a 
file with the same name as the name of the compiled source file, but with the extension 
r90
. To specify the working directory, replace 
directory
 with a period (
.
).
Example 1
To store the compiler output in a file called 
obj.r90
 in the 
mypath
 directory, you 
would use:
iccavr mysource -o mypath\obj
Example 2
If you compile the file 
mysource.c
 and want to store the compiler output in a file 
mysource.r90
 in the working directory, you could use:
iccavr mysource -o .
Note: Both 
\
 and 
/
 can be used as directory delimiters.
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>General Options>Output.
--omit_types
--omit_types
By default, the compiler includes type information about variables and functions in the 
object output.
Use this option if you do not want the compiler to include this type information in the 
output. The object file will then only contain type information that is a part of a symbol’s 
name. This means that the linker cannot check symbol references for type correctness, 
which is useful when you build a library that should not contain type information.