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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Compiler</strong> Command-line Options<br />

See also<br />

• --arm on page 2-7<br />

• #pragma arm on page 4-50<br />

• #pragma thumb on page 4-62<br />

• Specifying the target processor or architecture on page 2-22 in the <strong>Compiler</strong> User<br />

<strong>Guide</strong><br />

• Selecting the target CPU on page 4-3 in the <strong>Compiler</strong> User <strong>Guide</strong>.<br />

2.1.116 -Uname<br />

This option removes any initial definition of the macro name.<br />

The macro name can be either:<br />

• a predefined macro<br />

• a macro specified using the -D option.<br />

Note<br />

Not all compiler predefined macros can be undefined.<br />

Syntax<br />

-Uname<br />

Where:<br />

name<br />

is the name of the macro to be undefined.<br />

Usage<br />

Specifying -Uname has the same effect as placing the text #undef name at the head of each<br />

source file.<br />

Restrictions<br />

The compiler defines and undefines macros in the following order:<br />

1. compiler predefined macros<br />

2. macros defined explicitly, using -Dname<br />

3. macros explicitly undefined, using -Uname.<br />

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

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!