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

Default<br />

The default is --wchar.<br />

See also<br />

• --wchar16<br />

• --wchar32.<br />

2.1.171 --wchar16<br />

This option changes the type of wchar_t to unsigned short.<br />

Selecting this option modifies both the type of the defined type wchar_t in C and the type<br />

of the native type wchar_t in C++. It also affects the values of WCHAR_MIN and WCHAR_MAX.<br />

Default<br />

The compiler assumes --wchar16 unless --wchar32 is explicitly specified.<br />

See also<br />

• --wchar, --no_wchar on page 2-134<br />

• --wchar32<br />

• Predefined macros on page 4-198.<br />

2.1.172 --wchar32<br />

This option changes the type of wchar_t to unsigned int.<br />

Selecting this option modifies both the type of the defined type wchar_t in C and the type<br />

of the native type wchar_t in C++. It also affects the values of WCHAR_MIN and WCHAR_MAX.<br />

Default<br />

The compiler assumes --wchar16 unless --wchar32 is explicitly specified, or unless you<br />

specify an <strong>ARM</strong> Linux configuration file on the command line. Specifying an <strong>ARM</strong><br />

Linux configuration file on the command line turns --wchar32 on.<br />

See also<br />

• --arm_linux_config_file=path on page 2-10<br />

• --arm_linux_configure on page 2-12<br />

• --signed_bitfields, --unsigned_bitfields on page 2-116<br />

• --wchar, --no_wchar on page 2-134<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 2-135<br />

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!