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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Compiler</strong> Command-line Options<br />

int main(void)<br />

{<br />

printf("“Hello, world\n");<br />

return 0;<br />

}<br />

Compiling this code with --brief_diagnostics produces a warning message.<br />

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

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

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

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

• Chapter 5 Diagnostic Messages in the <strong>Compiler</strong> User <strong>Guide</strong>.<br />

2.1.10 --bss_threshold=num<br />

This option controls the placement of small global ZI data items in sections. A small<br />

global ZI data item is an uninitialized data item that is eight bytes or less in size.<br />

Syntax<br />

--bss_threshold=num<br />

Where:<br />

num<br />

is either:<br />

0 place small global ZI data items in ZI data sections<br />

8 place small global ZI data items in RW data sections.<br />

Default<br />

If you do not specify a --bss_threshold option, the compiler assumes<br />

--bss_threshold=8.<br />

<strong>ARM</strong> DUI 0348A Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. 2-11<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!