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

2.1.102 --remarks<br />

This option instructs the compiler to issue remark messages, such as warning of padding<br />

in structures.<br />

Note<br />

The compiler does not issue remarks by default.<br />

See also<br />

• --[no_]brief_diagnostics on page 2-10<br />

• --diag_error=tag[,tag,...] on page 2-26<br />

• --diag_remark=tag[,tag,... ] on page 2-27<br />

• --diag_style={arm|ide|gnu} on page 2-27<br />

• --diag_suppress=tag[,tag,...] on page 2-28<br />

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

• --errors=filename on page 2-34<br />

• -W on page 2-94<br />

• --[no_]wrap_diagnostics on page 2-96.<br />

2.1.103 --remove_unneeded_entities, --no_remove_unneeded_entities<br />

These options control whether debug information is generated for all source symbols,<br />

or only for those symbols actually used.<br />

Usage<br />

Use --remove_unneeded_entities to reduce debug object and image file sizes. Faster<br />

linkage times can also be achieved.<br />

Caution<br />

Although --remove_unneeded_entities can help to reduce the amount of debug<br />

information generated per file, it has the disadvantage of reducing the number of debug<br />

sections that are common to many files. This reduces the number of common debug<br />

sections that the linker is able to remove at final link time, and can result in a final debug<br />

image that is larger than necessary. For this reason, use --remove_unneeded_entities<br />

only when necessary.<br />

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