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

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

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

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

• --translate_g++ on page 2-122<br />

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

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

• --arm_linux on page 2-11 in the Linker Reference Guide<br />

• --library=name on page 2-54 in the Linker Reference Guide<br />

• --search_dynamic_libraries, --no_search_dynamic_libraries on page 2-78 in the<br />

Linker Reference Guide<br />

• Application Note 212 - Building Linux applications using RVCT v4.0 and the<br />

GNU <strong>Tools</strong> and Libraries.<br />

2.1.11 --arm_only<br />

This option enforces <strong>ARM</strong>-only code. The compiler behaves as if Thumb is absent from<br />

the target architecture.<br />

The compiler propagates the --arm_only option to the assembler and the linker.<br />

Example<br />

armcc --arm_only myprog.c<br />

Note<br />

If you specify armcc --arm_only --thumb myprog.c, this does not mean that the compiler<br />

checks your code to ensure that no Thumb code is present. It means that --thumb<br />

overrides --arm_only.<br />

See also<br />

• --arm on page 2-8<br />

• --thumb on page 2-122<br />

• Command syntax on page 3-2 in the Assembler Guide for information on --16 and<br />

--32.<br />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!