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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler Command-line Options<br />

• a subset of full GCC emulation in the form of translating individual GCC<br />

command-line arguments into their RVCT equivalents.<br />

To provide a full <strong>ARM</strong> Linux GCC emulation, you must also use<br />

--arm_linux_config_file. This combination of options selects the appropriate GNU<br />

header files and libraries specified by the configuration file, and includes changes to<br />

some default behaviors.<br />

To translate GCC command-line arguments into their RVCT equivalents without aiming<br />

for full GCC emulation, use --translate_g++ to emulate g++, but do not use it with<br />

--arm_linux_config_file. Because you are not aiming for full GCC emulation with this<br />

method, RVCT default behavior is retained, and no defaults are set for targeting <strong>ARM</strong><br />

Linux. RVCT library paths and option defaults remained unchanged.<br />

Restrictions<br />

If you specify an <strong>ARM</strong> Linux configuration file on the command line and you use<br />

--translate_g++, this alters the default settings for --exceptions and --no_exceptions,<br />

--bss_threshold, --relaxed_ref_def and --no_relaxed_ref_def, and --signed_bitfields<br />

and --unsigned_bitfields.<br />

See also<br />

• --arm_linux on page 2-9<br />

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

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

• --arm_linux_paths on page 2-13<br />

• --bss_threshold=num on page 2-20<br />

• --configure_cpp_headers=path on page 2-24<br />

• --configure_extra_includes=paths on page 2-25<br />

• --configure_extra_libraries=paths on page 2-26<br />

• --configure_gcc=path on page 2-27<br />

• --configure_gld=path on page 2-28<br />

• --configure_sysroot=path on page 2-29<br />

• --exceptions, --no_exceptions on page 2-54<br />

• --gnu_defaults on page 2-68<br />

• --relaxed_ref_def, --no_relaxed_ref_def on page 2-110<br />

• --shared on page 2-115<br />

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

• --translate_gcc on page 2-124<br />

• --translate_gld on page 2-125<br />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!