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

}<br />

result *= n--;<br />

return result;<br />

Compiling this code with the options --vectorize --cpu=Cortex-A8 -O3 -Otime<br />

--diag_warning=optimizations generates optimization warning messages.<br />

See also<br />

• --diag_suppress=optimizations on page 2-47<br />

• --diag_warning=tag[,tag,...] on page 2-48<br />

• -Onum on page 2-96<br />

• -Otime on page 2-99.<br />

2.1.55 --dllexport_all, --no_dllexport_all<br />

This option enables you to control symbol visibility when building DLLs.<br />

Default<br />

The default is --no_dllexport_all.<br />

Usage<br />

Use the option --dllexport_all to mark all extern definitions as __declspec(dllexport).<br />

See also<br />

• --apcs=qualifer...qualifier on page 2-4<br />

• __declspec(dllexport) on page 4-24.<br />

2.1.56 --dllimport_runtime, --no_dllimport_runtime<br />

This option enables you to control symbol visibility when using the runtime library as<br />

a shared library.<br />

Default<br />

The default is --no_dllimport_runtime.<br />

Usage<br />

Use the option --dllimport_runtime to mark:<br />

• all builtin symbols as __declspec(dllimport)<br />

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