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

Usage<br />

Use the option --export_defs_implicitly to export definitions where the prototype is<br />

marked __declspec(dllimport).<br />

See also<br />

• __declspec(dllimport) on page 4-26.<br />

2.1.68 --extended_initializers, --no_extended_initializers<br />

These options enable and disable the use of extended constant initializers even when<br />

compiling with --strict or --strict_warnings.<br />

When certain non-portable but widely supported constant initializers such as the cast of<br />

an address to an integral type are used, --extended_initializers causes the compiler to<br />

produce the same general warning concerning constant initializers that it normally<br />

produces in nonstrict mode, rather than specific errors stating that the expression must<br />

have a constant value or have arithmetic type.<br />

Default<br />

The default is --no_extended_initializers when compiling with --strict or<br />

--strict_warnings.<br />

The default is --extended_initializers when compiling in non-strict mode.<br />

See also<br />

• --strict, --no_strict on page 2-119<br />

• --strict_warnings on page 2-120<br />

• Constant expressions on page 3-10.<br />

2.1.69 --feedback=filename<br />

This option enables the efficient elimination of unused functions, and on <strong>ARM</strong>v4T<br />

architectures, enables reduction of compilation required for interworking.<br />

Syntax<br />

--feedback=filename<br />

Where:<br />

filename<br />

is the feedback file created by a previous execution of the <strong>ARM</strong> linker.<br />

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