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

--message_locale=ja_JP<br />

See also<br />

• --locale=lang_country on page 2-57<br />

• --[no_]multibyte_chars.<br />

2.1.82 --min_array_alignment=opt<br />

This option enables you to specify the minimum alignment of arrays.<br />

Syntax<br />

--min_array_alignment=opt<br />

Where:<br />

opt<br />

specifies the minimum alignment of arrays. The value of opt is:<br />

1 byte alignment, or unaligned<br />

2 two-byte, halfword alignment<br />

4 four-byte, word alignment<br />

8 eight-byte, doubleword alignment.<br />

Default<br />

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

--min_array_alignment=1.<br />

Example<br />

Compiling the following code with --min_array_alignment=8 gives the alignment<br />

described in the comments:<br />

char arr_c1[1]; // alignment == 8<br />

char c1; // alignment == 1<br />

See also<br />

• __align on page 4-2<br />

• __ALIGNOF__ on page 4-4.<br />

2.1.83 --[no_]multibyte_chars<br />

This option enables or disables processing for multibyte character sequences in<br />

comments, string literals, and character constants.<br />

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