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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

to specify a library multiple times on the command string, if subsequent<br />

specification of file.o files requires that additional symbols be resolved from<br />

that library.<br />

9. When the prelinker is used during the link-editing phase, you cannot use as<br />

input to c89/cc/c++ an executable file produced as output from a previous use<br />

of c89/cc/c++. The output of c89/cc/c++ when the -r option is specified (which<br />

is not an executable file) may be used as input.<br />

10. All MVS data sets used by c89/cc/c++ must be cataloged (including the<br />

system data sets installed with the z/<strong>OS</strong> XL C/C++ compiler and the Language<br />

Environment run-time library).<br />

11. c89/cc/c++ operation depends on the correct setting of their installation and<br />

configuration environment variables (see “Environment variables” on page 84).<br />

Also, they require that certain character special files are in the /dev directory.<br />

For additional installation and configuration information, see z/<strong>OS</strong> <strong>UNIX</strong><br />

<strong>System</strong> <strong>Services</strong> Planning.<br />

12. Normally, options and operands are processed in the order read (from left to<br />

right). Where there are conflicts, the last specification is used (such as with -g<br />

and -s). However, some c89/cc/c++ options will override others, regardless of<br />

the order in which they are specified. The option priorities, in order of highest<br />

to lowest, are as follows:<br />

-v specified twice<br />

The pseudo-JCL is printed only, but the effect of all the other options<br />

and operands as specified is reflected in the pseudo-JCL.<br />

-E Overrides -0, -O, -1, -2, -3, -V, -c, -g and -s (also ignores any file.s<br />

files).<br />

-g Overrides -0, -O, -1, -2, -3, and -s.<br />

-s Overrides -g (the last one specified is honored).<br />

-0 (zero), -O (capital letter O), -1, -2, -3, -V, -c<br />

All are honored if not overridden. -0, -O, -1, -2, -3 override each other<br />

(the last one specified is honored).<br />

Note: The preferred way for specifying optimization options, is -O<br />

(capital letter O) followed by a number; for example, -O2.<br />

13. For options that have option-arguments, the meaning of multiple specifications<br />

of the options is as follows:<br />

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

-D All specifications are used. If the same name is specified on more than<br />

one -D option, only the first definition is used.<br />

-e The entry function used will be the one specified on the last -e option.<br />

-I All specifications are used. If the same directory is specified on more<br />

than one -I option, the directory is searched only the first time.<br />

-L All specifications are used. If the same directory is specified on more<br />

than one -L option, the directory is searched only the first time.<br />

-o The output file used will be the one specified on the last -o option.<br />

-U All specifications are used. The name is not defined, regardless of the<br />

position of this option relative to any -D option specifying the same<br />

name.<br />

-u All specifications are used. If a definition cannot be found for any of<br />

the functions specified, the link-editing phase will be unsuccessful.

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

Saved successfully!

Ooh no, something went wrong!