04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler Command-line Options<br />

If you do not specify a -o option, the compiler names the output file according to the<br />

conventions of Table 2-6.<br />

Table 2-6 Compiling without the -o option<br />

Compiler option Action Usage notes<br />

-c produces an object file whose name<br />

defaults to the name of the input file with<br />

the filename extension .o<br />

-S produces an output file whose name<br />

defaults to the name of the input file with<br />

the filename extension .s<br />

-E writes output from the preprocessor to the<br />

standard output stream<br />

(No option)<br />

produces an executable image with the<br />

default name of __image.axf<br />

none of -o, -c, -E or -S<br />

is specified on the<br />

command line<br />

Note<br />

This option overrides the --default_extension option.<br />

See also<br />

• --asm on page 2-16<br />

• -c on page 2-21<br />

• --default_extension=ext on page 2-38<br />

• --depend=filename on page 2-40<br />

• --depend_format=string on page 2-41<br />

• -E on page 2-52<br />

• --interleave on page 2-76<br />

• --list on page 2-82<br />

• --md on page 2-89<br />

• -S on page 2-114.<br />

2.1.120 -Onum<br />

This option specifies the level of optimization to be used when compiling source files.<br />

2-96 Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. <strong>ARM</strong> DUI 0348C<br />

Non-Confidential,<br />

ID101213

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!