Developing applications with IBM Open XL C/C++

By default, when you invoke the IBM® Open XL C/C++ compiler, all of the following phases of translation are performed. Usually, compiling and linking are combined into a single step

  • Preprocessing of program source
  • Compiling and assembling into object files
  • Linking into an executable

You can use compiler options to perform only certain phases, such as preprocessing, or assembling. You can then re-invoke the compiler to resume processing of the intermediate output to a final executable.

The following sections describe how to invoke the IBM Open XL C/C++ compiler to preprocess, compile, and link source files and libraries:

Notes:
  • Before you use the compiler, ensure that IBM Open XL C/C++ is properly installed and configured. For more information, see the IBM Open XL C/C++ Installation Guide.
  • To learn about writing C/C++ programs, refer to the C and C++ language standards.