F

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

Syntax

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

Purpose
Names an alternative batch configuration file (.cfg) 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 batch configuration file supplied at installation time called /etc/vac.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/vac.cfg batch configuration file.

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

The -B, -t, and -W options override the -F option.

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

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


List of Batch Compiler Options and Their Defaults
Options that Specify Compiler Characteristics
Equivalent Batch Compile-Link and Incremental Build Options