16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

xlc and xlC<br />

principle, as both can be specified using -q syntax. However, -qobjmodel and<br />

-qphsinfo should be used instead to enhance portability with AIX.<br />

Options that do not exist on AIX, and are not required to accomplish a z/<strong>OS</strong>-specific<br />

task, and their effect can be accomplished by other means, are not supported with<br />

-q syntax. For example, use -D instead of DEFINE, -U instead of UNDEFINE, and<br />

-co instead of OBJECT.<br />

Suboptions with negative forms of -q options are not supported, unless they cause<br />

an active compiler action, as in the case of -qnokeyword=.<br />

Compiler options for AIX that do not apply to z/<strong>OS</strong> are accepted and ignored with a<br />

diagnostic message. For a brief description of the compiler options that can be<br />

specified with xlc, type xlc or any other supported command name. For detailed<br />

descriptions of the compiler options that can be specified with xlc, refer to z/<strong>OS</strong> XL<br />

C/C++ User’s Guide.<br />

The following syntax diagram shows how to specify keyword options using -q<br />

syntax:<br />

►►<br />

-q<br />

option_keyword<br />

=<br />

:<br />

▼ suboption<br />

In the diagram, option_keyword is an option name and the optional suboption is a<br />

value associated with the option. Keyword options with no suboptions represent<br />

switches that may be either on or off. The option_keyword by itself turns the switch<br />

on, and the option_keyword preceded by the letters NO turns the switch off. For<br />

example, -qLIST tells the compiler to produce a listing and -qNOLIST tells the<br />

compiler not to produce a listing. If an option that represents a switch is set more<br />

than once, the compiler uses the last setting.<br />

Some keyword options only have values. Keywords which have values are specified<br />

as keyword=value pairs.<br />

Example:<br />

-qfloat=ieee<br />

where ieee is a value.<br />

Some keyword options have suboptions, which in turn have values. Suboptions<br />

which have values are specified as suboption=value pairs.<br />

Example:<br />

-qipa=level=2<br />

where level is a suboption and 2 is a value.<br />

Keyword options and suboptions may appear in mixed case letters in the command<br />

that invokes the xlc utility. Keyword options that have suboptions can also be<br />

preceded by the letters NO in which case they are similar to off switches and do not<br />

allow suboptions. This is a noticeable departure from the z/<strong>OS</strong> options, which allow<br />

suboptions even if they are preceded by the letters NO. However, the function that<br />

the z/<strong>OS</strong> behavior provides can easily be emulated by specifying all desired<br />

808 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference<br />

►◄

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!