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.

makedepend<br />

The following options correspond to the z/<strong>OS</strong> <strong>UNIX</strong> c89,cc,c++ compiler options.<br />

For more information about these options and their corresponding usage notes, see<br />

c89 — Compiler invocation using host environment variables.<br />

–+ Specifies that all source files are to be recognized as C++ source files. All<br />

file.s, file.o, and file.a files will continue to be recognized as assembler<br />

source, object, and archive files respectively. However, any C file.c or file.i<br />

files will be processed as corresponding C++ file.C or file.i files, and any<br />

other file suffix which would otherwise be unrecognized will be processed<br />

as a file.C file.<br />

–D name[=value]<br />

Defines a C or C++ macro for use in compilation. If only name is provided,<br />

a value of 1 is used for the macro it specifies. For information about macros<br />

that c89/cc/c++ automatically define, see Usage Note 2. Also see Usage<br />

Note 3.<br />

–Idir1[,dir2]...<br />

Note: The –I option is an uppercase i, not a lowercase L.<br />

–I specifies the directories to be used during compilation in searching for<br />

include files (also called header files).<br />

Absolute pathnames specified on #include directives are searched exactly<br />

as specified. The directories specified using the –I option or from the usual<br />

places are not searched.<br />

If absolute pathnames are not specified on #include directives, then the<br />

search order is as follows:<br />

1. Include files enclosed in double quotes (") are first searched for in the<br />

directory of the file containing the #include directive. Include files<br />

enclosed in angle-brackets (< >) skip this initial search.<br />

2. The include files are then searched for in all directories specified by the<br />

–I option, in the order specified.<br />

3. Finally, the include files are searched for in the usual places. (See<br />

Usage Note 1 for a description of the usual places.)<br />

You can specify an MVS data set name as an include file search directory.<br />

Also, MVS data set names can explicitly be specified on #include<br />

directives. You can indicate both by specifying a leading double slash (//).<br />

For example, to include the include file DEF that is a member of the MVS<br />

PDS ABC.HDRS, code your C or C++ source as follows:<br />

#include <br />

MVS data set include files are handled according to z/<strong>OS</strong> XL C/C++<br />

compiler conversion rules (see Usage Note 1).. When specifying an<br />

#include directive with a leading double slash (in a format other than<br />

#include and #include), the specified name is<br />

paired only with MVS data set names specified on the –I option. That is,<br />

when you explicitly specify an MVS data set name, any hierarchical file<br />

system (HFS) directory names specified on the –I option are ignored.<br />

–0, –O (–1), –2, –3<br />

Specifies the level of compiler optimization (including inlining) to be used.<br />

The level –1 (number one) is equivalent to –O (letter capital O). The level<br />

–3 gives the highest level of optimization. The default is –0 (level zero), no<br />

optimization and no inlining, when not using IPA (Interprocedural Analysis).<br />

416 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!