F

Option Type Default Value #pragma options C C++
-flag - - x x

Syntax

    -Fconfig_file:stanza | -Fconfig_file | -F:stanza 

Purpose
Names an alternative configuration file for xlC.

Notes

config_file Specifies the configuration of your system to the compiler.
stanza Is the name of the command used to invoke the compiler. This directs the compiler to the config_file under stanza for the description of the compiler environment.

This suboption is not required.

The default is a configuration file supplied at installation time called /etc/ibmcxx.cfg. Any file names or stanzas that you specify on the command line or within your source file override the defaults specified in the /etc/ibmcxx.cfg configuration file.

For information regarding the contents of the configuration file, refer to Specifying Options in the Configuration File.

Options specified with -W option override options in the -Fconfig_file configuration file. The -B, -t, and -W options override the -F option.

Example
To compile myprogram.c using a configuration file /usr/tmp/myibmcxx.cfg with an xlC stanza, enter:

xlC myprogram.c -F/usr/tmp/myibmcxx.cfg:xlC


List of Compiler Options and Their Defaults
Options that Specify Compiler Characteristics