Specifying flag options

The z/OS® XL C/C++ compilers use a number of common conventional flag options. Lowercase flags are different from their corresponding uppercase flags. For example, -c and -C are two different compiler options:

Some flag options have arguments that form part of the flag. Here is an example: xlC stem.c -F/home/tools/test3/new.cfg:myc -qflag=w where new.cfg is a custom configuration file.

You can specify flags that do not take arguments in one string; for instance, xlc -Ocv file.c has the same effect as xlc -O -v -c test.c.