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.

c89, cc, and c++<br />

Environment variables<br />

You can use environment variables to specify necessary system and operational<br />

information to c89/cc/c++. When a particular environment variable is not set,<br />

c89/cc/c++ uses the default shown. For information about the JCL parameters used<br />

in these environment variables, see z/<strong>OS</strong> MVS JCL User’s Guide.<br />

Each environment variable has a prefix (shown in italics) that should be replaced by<br />

one of the following, depending on the command name used:<br />

v _CC<br />

v _CXX<br />

v _C89<br />

This means that to specify cc environment variables, the name shown must be<br />

prefixed with _CC (for example, _CC_ACCEPTABLE_RC). To specify c89<br />

environment variables, the name shown must be prefixed with _C89 (for example,<br />

_C89_ACCEPTABLE_RC). To specify c++/cxx environment variables, the name<br />

shown must be prefixed with _CXX (for example, _CXX_ACCEPTABLE_RC).<br />

Notes:<br />

1. For most environment variables, you can use all three prefixes (_CC, _CXX,<br />

_C89). In the list of environment variables that follows, you should assume that<br />

all three prefixes can be used unless otherwise indicated.<br />

2. c89/cc/c++ can accept parameters only in the syntax indicated here. A null<br />

value indicates that c89/cc/c++ should omit the corresponding parameters<br />

during dynamic allocation. Numbers in parentheses following the environment<br />

variable name correspond to usage notes, which begin on Page 97, and<br />

indicate specific usage information for the environment variable.<br />

prefix_ACCEPTABLE_RC<br />

The maximum allowed return code (result) of any step (compile, assemble,<br />

IPA Link, prelink, or link-edit). If the result is between zero and this value<br />

(inclusive), then it is treated internally by c89/cc/c++ exactly as if it were a<br />

zero result, except that message FSUM3065 is also issued. The default<br />

value is 4.<br />

When used under c89/cc/c++, the prelinker by default returns at least a 4<br />

when there are duplicate symbols or unresolved writable static symbols (but<br />

not for other unresolved references). The link editor returns at least a 4<br />

when there are duplicate symbols, and at least an 8 when there are<br />

unresolved references and automatic library call was used.<br />

prefix_ASUFFIX (15)<br />

The suffix by which c89/cc/c++ recognizes an archive file. This environment<br />

variable does not affect the treatment of archive libraries specified as -l<br />

operands, which are always prefixed with lib and suffixed with .a. The<br />

default value is a.<br />

prefix_ASUFFIX_H<strong>OS</strong>T (15)<br />

The suffix by which c89/cc/c++ recognizes a library data set. This<br />

environment variable does not affect the treatment of data set libraries<br />

specified as -l operands, which are always used exactly as specified. The<br />

default value is LIB.<br />

prefix_CCMODE<br />

Controls how c89/cc/c++ does parsing. The default behavior of c89/cc/c++<br />

is to expect all options to precede all operands. Setting this variable allows<br />

compatibility with historical implementations (other cc commands). When<br />

set to 1, c89/cc/c++ operates as follows:<br />

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

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

Saved successfully!

Ooh no, something went wrong!