Using IBM XL C/C++ for Linux, V13.1.6 with the Advance Toolchain

IBM® XL C/C++ for Linux, V13.1.6 supports IBM Advance Toolchain 11.0, which is a set of open source development tools and runtime libraries. With IBM Advance Toolchain 11.0, you can take advantage of the latest POWER® hardware features on Linux, especially the tuned libraries. For more information about the Advance Toolchain 11.0, see the Advance toolchain for Linux on Power® website.

To use IBM XL C/C++ for Linux, V13.1.6 with the Advance Toolchain, take the following steps:

  1. Install the at11.0 packages into the default installation location. For instructions, see Installation on the Advance toolchain for Linux on Power website.
  2. Run the xlc_configure utility to create the xlc.at.cfg configuration file. In the xlc.at.cfg configuration file, all other entities except the XL C/C++ compiler are directed to those of the Advance Toolchain. The entities include the linker, headers, and runtime libraries.
    Note: To run the xlc_configure utility, you must either become the root user or use the sudo command.
    xlc_configure -at
  3. Invoke the XL compiler with the Advance Toolchain support.
    • If you installed the compiler in the default location, issue the following commands:
      /opt/ibm/xlC/13.1.6/bin/xlc_at
      /opt/ibm/xlC/13.1.6/bin/xlC_at
    • If you installed the compiler in an NDI location, issue the following commands:
      $ndi_path/xlC/13.1.6/bin/xlc_at
      $ndi_path/xlC/13.1.6/bin/xlC_at
Note: If you use the XL compiler with the Advance Toolchain support to build your application, your application can run only under the Advance Toolchain environment because the application depends on the runtime library of the Advance Toolchain. If you copy the application to run on other machines, ensure that the Advance Toolchain, or at least the runtime library of the Advance Toolchain, is available on those machines.


Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us