A highly configurable compiler

You can use a variety of compiler invocation commands and options to tailor the compiler to your unique compilation requirements.

Compiler invocation commands

IBM® Open XL C/C++ provides the ibm-clang, ibm-clang_r, and ibm-clang++_r invocation commands to invoke the compiler. The ibm-clang_r and ibm-clang++_r invocation commands are threadsafe to compile parallelized applications in multiprocessor environments.

For more information about IBM Open XL C/C++ compiler invocation commands, see Invoking the compiler.

Compiler options

You can choose from a large selection of compiler options to control compiler behavior. You can benefit from using different options for the following tasks:
  • Debugging your applications
  • Optimizing and tuning application performance
  • Selecting language levels and extensions for compatibility with nonstandard features and behaviors that are supported by the Clang compiler.
  • Performing other common tasks that would otherwise require changing the source code

You can specify compiler options through a combination of environment variables, command line options, and compiler directive statements embedded in your program source.

For more information about IBM Open XL C/C++ compiler options, see Compiler options.