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

Example<br />

void foo(void)<br />

{<br />

long long i; /* okay in non-strict C90 */<br />

}<br />

Compiling this code with --strict_warnings generates a warning message.<br />

<strong>Compilation</strong> continues, even though the expression long long is strictly illegal.<br />

See also<br />

• Source language modes on page 1-3<br />

• --c90 on page 2-13<br />

• --c99 on page 2-13<br />

• --cpp on page 2-14<br />

• --gnu on page 2-44<br />

• --[no_]strict on page 2-84.<br />

2.1.114 --sys_include<br />

This option removes the current place from the include search path.<br />

Quoted include files are treated in a similar way to angle-bracketed include files, except<br />

that quoted include files are always searched for first in the directories specified by -I,<br />

and angle-bracketed include files are searched for first in the -J directories.<br />

See also<br />

• -Idir[,dir,...] on page 2-46<br />

• -Jdir[,dir,...] on page 2-51<br />

• --kandr_include on page 2-52<br />

• --preinclude=filename on page 2-75<br />

• The current place on page 2-13 in the <strong>Compiler</strong> User <strong>Guide</strong><br />

• The search path on page 2-14 in the <strong>Compiler</strong> User <strong>Guide</strong>.<br />

2.1.115 --thumb<br />

This option configures the compiler to target the Thumb instruction set.<br />

Default<br />

This is the default option for targets that do not support the <strong>ARM</strong> instruction set.<br />

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