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

Default<br />

The default is --rtti.<br />

See also<br />

• --[no_]dllimport_runtime on page 2-32.<br />

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

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

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

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

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

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

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

2.1.107 --[un]signed_bitfields<br />

This option makes bitfields of type int signed or unsigned.<br />

The C Standard specifies that if the type specifier used in declaring a bitfield is either<br />

int, or a typedef name defined as int, then whether the bitfield is signed or unsigned is<br />

dependent on the implementation.<br />

Default<br />

The default is --unsigned_bitfields.<br />

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