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

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

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

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

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

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

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

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

See also<br />

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

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

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

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

Guide<br />

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

2.1.156 --translate_g++<br />

This option helps to emulate the GNU compiler in C++ mode by enabling the<br />

translation of command lines from the GNU tools.<br />

Usage<br />

You can use this option to provide either of the following:<br />

• a full GCC emulation targeting <strong>ARM</strong> Linux.<br />

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