Using IBM XL C/C++ for Linux, V13.1.5 with the Advance Toolchain
IBM® XL C/C++ for Linux, V13.1.5 supports IBM Advance Toolchain 9.0, which is a set of open source development tools and runtime libraries. With IBM Advance Toolchain 9.0, you can take advantage of the latest POWER® hardware features on Linux, especially the tuned libraries. For more information about the Advance Toolchain 9.0, see IBM Advance Toolchain for PowerLinux™ Documentation.
To use IBM XL C/C++ for Linux, V13.1.5 with the Advance Toolchain, take the following steps:
- Install the at9.0 packages into the default installation location. For instructions, see IBM Advance Toolchain for PowerLinux Documentation.
- 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.
- If you installed the compiler in the default location, issue the
following command:
xlc_configure -at - If you installed the compiler in a nondefault installation (NDI)
location, issue the following command:
where $ndi_path is the directory in which you installed the compiler.xlc_configure -at -ibmcmp $ndi_path
- If you installed the compiler in the default location, issue the
following command:
- 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.5/bin/xlc_at /opt/ibm/xlC/13.1.5/bin/xlC_at - If you installed the compiler in an NDI location, issue the following commands:
$ndi_path/xlC/13.1.5/bin/xlc_at $ndi_path/xlC/13.1.5/bin/xlC_at
- If you installed the compiler in the default location, issue the
following commands:
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.


