Build configuration compatibility
To facilitate the building of applications that are currently built with GCC or Clang, IBM® Open XL C/C++ for AIX® 17.1.2 provides compatibility utilities. These utilities offer compatibility for the most common options of corresponding GCC and Clang utilities, allowing them to be seamlessly used as drop-in replacements in your build process.
The utilities in the /opt/IBM/openxlC/17.1.2/compat/gnu directory
offer build compatibility for the following GNU tools:
- ar
- c++filt
- cpp
- dwarfdump
- g++
- gcc
- nm
- objdump
- ranlib
The utilities in the /opt/IBM/openxlC/17.1.2/compat/llvm directory
offer build compatibility for the following LLVM tools:
- clang
- clang++
- clang-cpp
- llvm-ar
- llvm-cxxfilt
- llvm-dwarfdump
- llvm-nm
- llvm-objdump
- llvm-profdata
- llvm-ranlib
Notes:
- These utilities offer compatibility with the corresponding GCC and Clang utilities commonly found in the build files of most open-source applications.
- These utilities are wrappers for the corresponding utilities in IBM Open XL C/C++ for AIX 17.1.2. Find the supported utilities of IBM Open XL C/C++ for AIX 17.1.2 in Utilities and commands.
- These utilities are designed for use in entire builds. Do not mix C++ objects built with these compatibility g++ wrapper utilities with C++ object files built with GNU g++ utilities.
- To use these utilities, add the /opt/IBM/openxlC/17.1.2/compat/gnu or /opt/IBM/openxlC/17.1.2/compat/llvm directory
to the beginning of your $PATH environment variable. Alternatively, you can
directly specify these directories in your build system. See the following
example:
export PATH=/opt/IBM/openxlC/17.1.2/compat/llvm:$PATH ./configure