2.4. Supported link methods on AIX

In order to link application program code with objects and libraries, AIX supports several link methods shown in Table 2-3 on page 64 (for the definition of terms used in this table, see Table B-1 on page 443). These methods are not mutually exclusive, except for the combination of lazy loading and run-time link methods. Therefore, an executable can be generated using more than one link methods.

Table 2-3. Supported link methods
Link methodSymbol resolutionSymbol reboundModule loadingLinker optionExplained section
Defaultlink-timeN/Aprogram load-timeN/ASection 2.4.1, “AIX default linking” on page 64
Staticlink-timeN/Aprogram load-time[a]-bstaticSection 2.4.2, “Static linking” on page 66
Lazy loading[b]link-time ...

Get Developing and Porting C and C++ Applications on AIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.