29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Compiler</strong> Command-line Options<br />

Table 2-5 Compiling without the -o option (continued)<br />

<strong>Compiler</strong> option Action Usage notes<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-8<br />

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

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

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

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

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

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

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

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

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

2.1.87 -Onum<br />

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

Syntax<br />

-Onum<br />

Where num is one of the following:<br />

0 Minimum optimization. Turns off most optimizations. It gives the best<br />

possible debug view and the lowest level of optimization.<br />

2-66 Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0348A<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!