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

2.1.134 --profile=filename<br />

This option instructs the compiler to use feedback from the <strong>ARM</strong> Profiler, to generate<br />

code that is smaller is size and faster in terms of performance.<br />

Syntax<br />

--profile=filename<br />

Where:<br />

filename<br />

is the name of an <strong>ARM</strong> Profiler analysis file.<br />

Example<br />

This example uses the <strong>ARM</strong> Profiler feedback provided in hello_001.apa when<br />

generating the code for hello.c.<br />

armcc -c -O3 -Otime --profile=hello_001.apa hello.c<br />

See also<br />

• the <strong>ARM</strong> Profiler User Guide.<br />

2.1.135 --project=filename, --no_project<br />

The option --project=filename instructs the compiler to load the project template file<br />

specified by filename.<br />

Note<br />

To use filename as a default project file, set the RVDS_PROJECT environment variable to<br />

filename.<br />

The option --no_project prevents the default project template file specified by the<br />

environment variable RVDS_PROJECT from being used.<br />

Syntax<br />

--project=filename<br />

--no_project<br />

Where:<br />

filename<br />

is the name of a project template file.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 2-107<br />

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!