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

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

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

Compiler Command-line Options<br />

2.1.144 --rtti, --no_rtti<br />

This option controls support for the RTTI features dynamic_cast and typeid in C++.<br />

Mode<br />

This option is effective only if the source language is C++.<br />

Default<br />

The default is --rtti.<br />

See also<br />

• --dllimport_runtime, --no_dllimport_runtime on page 2-50.<br />

2.1.145 -S<br />

This option instructs the compiler to output the disassembly of the machine code<br />

generated by the compiler to a file.<br />

Unlike the --asm option, object modules are not generated. The name of the assembly<br />

output file defaults to filename.s in the current directory, where filename is the name of<br />

the source file stripped of any leading directory names. The default filename can be<br />

overridden with the -o option.<br />

You can use armasm to assemble the output file and produce object code. The compiler<br />

adds ASSERT directives for command-line options such as AAPCS variants and byte<br />

order to ensure that compatible compiler and assembler options are used when<br />

reassembling the output. You must specify the same AAPCS settings to both the<br />

assembler and the compiler.<br />

See also<br />

• --apcs=qualifer...qualifier on page 2-4<br />

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

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

• --info=totals on page 2-74<br />

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

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

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

• Assembler Guide.<br />

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