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

See also<br />

• --dwarf2 on page 2-51.<br />

2.1.60 -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-22<br />

• -o filename on page 2-95.<br />

2.1.61 --emit_frame_directives, --no_emit_frame_directives<br />

This option instructs the compiler to place DWARF FRAME directives into disassembly<br />

output.<br />

Default<br />

The default is --no_emit_frame_directives.<br />

Examples<br />

armcc --asm --emit_frame_directives foo.c<br />

armcc -S emit_frame_directives foo.c<br />

See also<br />

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

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

• Using frame directives on page 2-51 in the Assembler Guide.<br />

2-52 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!