F

Applies to C Applies to C++

Purpose

Names an alternative configuration file (.cfg) for the compiler.

Syntax


Syntax Diagram

where suboptions are:


config_file Specifies the name of a compiler configuration file.
stanza Specifies the name of the command used to invoke the compiler. This directs the compiler to use the entries under stanza in the config_file to set up the compiler environment.

Notes

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

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

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

Example

To compile myprogram.c using a configuration file called /usr/tmp/myvac.cfg, enter:

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

Related Tasks

Specify Compiler Options in a Configuration File

Related References

Compiler Command Line Options
B
t
W IBM Copyright 2003