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 />

See also<br />

• --[no_]strict on page 2-84.<br />

2.1.40 --dwarf2<br />

This option instructs the compiler to use DWARF 2 debug table format.<br />

Default<br />

The compiler assumes --dwarf3 unless --dwarf2 is explicitly specified.<br />

See also<br />

• --dwarf3.<br />

2.1.41 --dwarf3<br />

This option instructs the compiler to use DWARF 3 debug table format.<br />

Default<br />

The compiler assumes --dwarf3 unless --dwarf2 is explicitly specified.<br />

See also<br />

• --dwarf2.<br />

2.1.42 -E<br />

This option instructs the compiler to execute only the preprocessor step.<br />

By default, output from the preprocessor is sent to the standard output stream and can<br />

be redirected to a file using standard UNIX and MS-DOS notation.<br />

You can also use the -o option to specify a file for the preprocessed output. By default,<br />

comments are stripped from the output. The preprocessor accepts source files with any<br />

extension, for example, .o, .s, and .txt.<br />

Example<br />

armcc -E source.c > raw.c<br />

See also<br />

• -C on page 2-13<br />

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

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!