Editing the default configuration file
The configuration file specifies information that the compiler uses when you invoke it. XL C/C++ provides the default configuration file /opt/ibm/xlC/13.1.5/etc/xlf.cfg at installation time.
If you want many users to be able to choose among several sets of compiler options, you may want to add new named stanzas to the configuration file and to create new commands that are links to existing commands. For example, you could specify something similar to the following to create a link to the c99 command:
ln -s /opt/ibm/xlC/13.1.5/bin/c99 /home/username/bin/c99
When you run the compiler under another name, it uses whatever options, libraries, and so on, that are listed in the corresponding stanza.
Notes:
- The configuration file contains other named stanzas to which you may want to link.
- If you make any changes to the configuration file and then move or copy your makefiles to another system, you will also need to copy the changed configuration file.
- You cannot use tabs as separator characters in the configuration file. If you modify the configuration file, make sure that you use spaces for any indentation.


