libSearchPathPrefix Link Option (AIX)

Syntax: Default:
link(libSearchPathPrefix, string) none

This option prefixes the names of the library search paths with the specified string.

When this option is used, the standard library directories, including the ones specified by the link(libSearchPath, string) option, are not searched.

This option is useful when developing a new version of a library.  Usually you use it to build on one level of AIX and run on a different level, so that you can search a different path on the development platform than on the target platform. This is possible because the prefix is not stored in the executable.

If you apply this option more than once in an option directive, the strings are appended to each other in the order in which they appear in your configuration file, and then they are added to the beginning of the library search paths. When the directives are nested, the paths from inner libSearchPathPrefixes precede those from outer libSearchPathPrefixes.



Incremental C++ Build
C Compilation
Configuration Files
Linker Searches


Set Build Options
Build


Link Options
Link Options
Application Run-Time Environment Variables