dataImportedNames Link Option (AIX)

Syntax: Default:
link(dataImportedNames, string) none

This option specifies an extern variable that should be treated as imported data, where string is the mangled variable name.  Imported variables are dynamically bound with a shared portion of a library.

By default, no variables are specified.

This option is enabled when link(dataImported, names) is set. 

Use link(dataImportedNames, string) once for each variable to be treated as local data. The variables specified are always treated as imported data, even if link(dataLocal) is set.  Variables can be marked as local, rather than imported, data using the link(dataLocal, names) and link(dataLocalNames, string) options. 

Using link(dataImported, names) and link(dataImportedNames, string) does not affect whether other variables are treated as imported or local by default. The default for these other variables is specified using the link(dataImported, all) or link(dataLocal, all) options.

Using the dataImported and dataImportedNames to declare that an extern variable is imported from another shared library when it is actually local to the current shared library may decrease performace.

Conflicts among the dataImported, dataImportedNames, dataLocal, and dataLocalNames link options are resolved in the following manner:

Options that list variable names The last explicit specification for a particular variable name is used.
Options that change the default The last option specified is the default for variables not explicitly listed in the name-list form.


Incremental C++ Build
C Compilation
Configuration Files


Set Build Options
Build


Link Options
Link Options