Chapter 2. Compiling and linking

Developers porting code to the AIX operating system from other UNIX operating systems might, at first, have difficulties with the compile and linking tasks on AIX. This chapter helps the developers with the tasks on AIX by providing the following sections:

  • Section 2.1, “32- and 64-bit development environments” on page 38

  • Section 2.2, “Compiling and linking: A quick overview” on page 43

  • Section 2.3, “Resolving symbols at link-time” on page 53

  • Section 2.4, “Supported link methods on AIX” on page 63

  • Section 2.5, “Run-time linking” on page 68

  • Section 2.6, “Dynamic loading” on page 82

  • Section 2.7, “Commands when manipulating objects and libraries” on page 85

  • Section 2.8, “Creating shared objects” on page 92

  • Section 2.9, “Shared libraries in a development environment” on page 99

For further information about the compile and linking tasks on AIX and how to manage shared libraries, please refer to AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs and the ld command section in AIX 5L Version 5.2 Reference Documentation: Commands Reference.

Note

The definitions shown in Table B-1 on page 443 are very useful in understanding the technical details of linking and loading process on AIX.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset