dataImported Link Option (AIX)

Syntax: Default:
link(dataImported, all)
link(dataImported, none)
link(dataImported, names)
link(dataImported, all)

This option controls whether extern variables should be treated as imported data by default.   Imported variables are dynamically bound with a shared portion of a library.

The default is link(dataImported, all), which causes all variables to be treated as imported data by default.

If link(dataImported, names) is specified, use link(dataImportedNames, string) once for each variable to be treated as imported data, where string consists of the mangled variable name.  The variables specified are always treated as imported data, even if link(dataLocal) is set.  Using link(dataImported, names) and link(dataImportedNames, string) does not affect whether variables are treated as imported or local by default.

Performance may decrease if an imported variable is assumed to be local.

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