Configuring the compiler

Before you can use XL C/C++ to compile C or C++ programs, you must set up the environment variables the compiler requires, and the compiler configuration file must exist on your system. Normally, the configuration file used by the compiler is automatically generated during the installation procedure (for more information, see the XL C/C++ Installation Guide), and you may have already set some of the basic environment variables during the installation process.

Setting environment variables provides a complete list of the required and optional environment variables you can set or reset after installing the compiler, including those used for parallel processing.

If you want to customize the default or additional configuration files that you have generated after installation, to specify alternate library paths, default compiler options, and so on, you can consult Customizing the configuration file, which provides a description of the structure and content of the default configuration file.