linkxlC

In IBM® XL C/C++ for AIX® 16.1.0 or earlier releases, the linkxlC utility links C++ .o and .a files. It can be used on systems where the compiler is not installed.

In IBM Open XL C/C++ for AIX 17.1.3, linkxlC is not supported. Use ibm-clang++_r to link Open XL C/C++ binaries instead. Contact your customer service if you need to link Open XL C++ binaries where the ibm-clang++_r utility is not available.

To link binaries that are compiled with IBM XL C/C++ for AIX 16.1.0 using xlC and binaries that are compiled with IBM Open XL C/C++ for AIX 17.1.3 using ibm-clang++_r, you can perform one of the following tasks:
  • Link mixed binaries with the xlC or V16 linkxlC command and add necessary V17 linker options. Run the ibm-clang++_r -v command to obtain the linker options that IBM Open XL C/C++ for AIX 17.1.3 provides.
  • Link mixed binaries with the ibm-clang++_r command and add necessary V16 linker options. Run the xlC -v command to obtain the linker options that IBM XL C/C++ for AIX 16.1.0 provides.