Order of linking

This section describes the order in which the compiler links libraries.

The compiler links libraries in the following order:

  1. System startup libraries
  2. User .o files and libraries
  3. IBM® Open XL C/C++ libraries
  4. libc++ C++ standard libraries
  5. C standard libraries

Related information