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

Where:<br />

filename<br />

is the name of the PCH file to be created.<br />

See also<br />

• --pch on page 2-70<br />

• --pch_dir=dir on page 2-71<br />

• --[no_]pch_messages on page 2-72<br />

• --[no_]pch_verbose on page 2-72<br />

• --use_pch=filename on page 2-89<br />

• #pragma hdrstop on page 4-55<br />

• #pragma no_pch on page 4-57<br />

• Precompiled header files on page 2-16 in the <strong>Compiler</strong> User <strong>Guide</strong>.<br />

2.1.21 -Dname[(parm-list)][=def]<br />

This option defines the macro name.<br />

Syntax<br />

-Dname[(parm-list)][=def]<br />

Where:<br />

name<br />

parm-list<br />

Is the name of the macro to be defined.<br />

Is an optional list of comma-separated macro parameters. By appending<br />

a macro parameter list to the macro name, you can define function-style<br />

macros.<br />

The parameter list must be enclosed in parentheses. When specifying<br />

multiple parameters, do not include spaces between commas and<br />

parameter names in the list.<br />

Note<br />

Parentheses might need escaping on UNIX systems.<br />

=def<br />

Is an optional macro definition.<br />

If =def is omitted, the compiler defines name as the value 1.<br />

To include characters recognized as tokens on the command line, enclose<br />

the macro definition in double quotes.<br />

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

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!