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

See also<br />

• --apcs=qualifer...qualifier on page 2-4<br />

• --old_specializations, --no_old_specializations on page 2-98.<br />

2.1.84 --help<br />

This option displays a summary of the main command-line options.<br />

This is the default if you do not specify any options or source files.<br />

See also<br />

• --show_cmdline on page 2-116.<br />

• --vsn on page 2-134<br />

2.1.85 --hide_all, --no_hide_all<br />

This option enables you to control symbol visibility when building SVr4 shared objects.<br />

Usage<br />

Use --no_hide_all to force the compiler to use STV_DEFAULT visibility for all extern<br />

variables and functions if they do not use __declspec(dll*) or<br />

__attribute__((visibility("visibility_type"))). This also forces them to be<br />

preemptible at runtime by a dynamic loader.<br />

When building a System V or <strong>ARM</strong> Linux shared library, use --no_hide_all together<br />

with --apcs /fpic.<br />

Default<br />

The default is --hide_all.<br />

See also<br />

• --apcs=qualifer...qualifier on page 2-4<br />

• __attribute__((visibility("visibility_type"))) on page 4-40<br />

• __attribute__((visibility("visibility_type"))) on page 4-55<br />

• __declspec(dllexport) on page 4-24<br />

• __declspec(dllimport) on page 4-26<br />

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

• Symbol visibility on page 4-5 in the Linker Reference Guide<br />

• --symver_script=file on page 2-90 in the Linker Reference Guide.<br />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!