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.

Localization<br />

Usage notes<br />

the compiler is now able to recognize c89 defaults.The default<br />

value is: 0 (zero). Actual variable names are:<br />

_C89_NO_CMDOPTS, _CC_NO_CMDOPTS,<br />

_CXX_NO_CMDOPTS<br />

makedepend uses the LC_ALL localization environment variable, which specifies<br />

the locale to be used to override any values for locale categories specified by<br />

LANG or certain LC_ variables.<br />

See Appendix F, “Localization” for more information.<br />

1. MVS data sets may be used as the usual place to resolve C and C++ #include<br />

directives during compilation.<br />

Such data sets are installed with Language Environment. When it is allocated,<br />

searching for these include files can be specified on the –I option as<br />

//DD:SYSLIB. (See the description of environment variable {_CSYSLIB} for<br />

information.<br />

When include files are MVS PDS members, z/<strong>OS</strong> C/C++ uses conversion rules<br />

to transform the include (header) file name on a #include preprocessor directive<br />

into a member name. If the "//'dataset_prefix.+'" syntax is not used for the MVS<br />

data set which is being searched for the include file, then this transformation<br />

strips any directory name on the #include directive, and then takes the first 8 or<br />

fewer characters up to the first dot (.).<br />

If the "//'dataset_prefix.+'" syntax is used for the MVS data set which is being<br />

searched for the include file, then this transformation uses any directory name<br />

on the #include directive, and the characters following the first dot (.), and<br />

substitutes the "+" of the data set being searched with these qualifiers.<br />

In both cases the data set name and member name are converted to uppercase<br />

and underscores (_) are changed to at signs (@).<br />

If the include (header) files provided by Language Environment are installed into<br />

the hierarchical file system in the default location (in accordance with the<br />

{_INCDIRS} environment variable), then the compiler will use those files to<br />

resolve #include directives during compilation. c89/cc/c++ by default searches<br />

the directory /usr/include as the usual place, just before searching the data<br />

sets just described. See the description of environment variables {_CSYSLIB},<br />

{_INCDIRS}, and {_INCLIBS} for information on customizing the default<br />

directories to search.<br />

2. Feature test macros control which symbols are made visible in a source file<br />

(typically a header file). c89/cc/c++ automatically defines the following feature<br />

test macros along with the errno macro, according to whether or not cc was<br />

invoked.<br />

v Other than cc<br />

–D "errno=(*__errno())"<br />

–D _OPEN_DEFAULT=1<br />

v cc<br />

–D "errno=(*__errno())"<br />

–D _OPEN_DEFAULT=0<br />

–D _NO_PROTO=1<br />

makedepend<br />

c89/cc/c++add these macro definitions only after processing the command<br />

string. Therefore, you can override these macros by specifying –D or –U options<br />

for them on the command string.<br />

Chapter 2. Shell command descriptions 419

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

Saved successfully!

Ooh no, something went wrong!