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

See also<br />

• --device=name.<br />

2.1.47 --device=name<br />

This option enables you to compile code for a specific microcontroller or<br />

System-on-Chip (SoC) device.<br />

Syntax<br />

--device=name<br />

Where:<br />

name<br />

is the name of a target microcontroller or SoC device.<br />

Usage<br />

When you specify a particular device name, the device inherits the default endianness<br />

and floating-point architecture from the corresponding CPU. You can use the --bi, --li,<br />

and --fpu options to alter the default settings for endianness and target floating-point<br />

architecture.<br />

See also<br />

• --bigend on page 2-17<br />

• --device=list on page 2-43<br />

• --fpu=name on page 2-62<br />

• --littleend on page 2-85<br />

• --device=list on page 2-27 in the Linker Reference Guide<br />

• --device=name on page 2-27 in the Linker Reference Guide<br />

• Using the C preprocessor on page 3-47 in the Assembler Guide.<br />

2.1.48 --diag_error=tag[,tag,...]<br />

This option sets the diagnostic messages that have the specified tags to Error severity.<br />

Note<br />

This option has the #pragma equivalent #pragma diag_error.<br />

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