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.

v cc should be used when compiling C programs that are written according to<br />

Common Usage C.<br />

v cxx/c++ must be used when compiling C++ programs. Prior to z/<strong>OS</strong> V1R2, the<br />

C++ compiler supported the Draft Proposal International Standard for Information<br />

<strong>System</strong>s — Programming Language C++ (X3J16). As of z/<strong>OS</strong> V1R7, the C++<br />

compiler supports the Programming languages - C++ (ISO/IEC 14882:2003(E))<br />

standard, as well as the Programming languages - C++ (ISO/IEC 14882:1998)<br />

standard. c++ can compile both C++ and C programs, and can also be invoked<br />

by the name cxx (all references to c++ throughout this document apply to both<br />

names).<br />

c89, cc, and c++ call other programs for each step of the compilation, assemble<br />

and link-editing phases. The list below contains the following: the step name, the<br />

name of the document that describes the program you use for that step and the<br />

document that describes any messages issued by that program, and prefixes to<br />

those messages:<br />

Table 3. Reference documentation for programs invoked by c89, cc, and c++ commands<br />

Step Name Document<br />

Describing<br />

Options and<br />

How to Call<br />

Program<br />

ASSEMBLE HLASM<br />

Programmer’s<br />

Guide<br />

COMPILE, IPACOMP,<br />

TEMPINC, IPATEMP,<br />

IPALINK<br />

z/<strong>OS</strong> C/C++<br />

User’s Guide for<br />

releases prior to<br />

z/<strong>OS</strong> V1R7 and<br />

z/<strong>OS</strong> XL C/C++<br />

User’s Guide for<br />

z/<strong>OS</strong> V1R7 and<br />

later releases<br />

PRELINK z/<strong>OS</strong> Language<br />

Environment<br />

Programming<br />

Guide and z/<strong>OS</strong><br />

XL C/C++ User’s<br />

Guide<br />

LINKEDIT (Program<br />

Management Binder)<br />

z/<strong>OS</strong> MVS<br />

Program<br />

Management:<br />

User’s Guide and<br />

Reference<br />

Document<br />

Containing<br />

Messages Issued<br />

by Program<br />

HLASM<br />

Programmer’s<br />

Guide<br />

z/<strong>OS</strong> C/C++<br />

Messages for z/<strong>OS</strong><br />

V1R5 and z/<strong>OS</strong><br />

V1R6 releases and<br />

z/<strong>OS</strong> XL C/C++<br />

Messages for z/<strong>OS</strong><br />

V1R7 and later<br />

releases<br />

z/<strong>OS</strong> Language<br />

Environment<br />

Debugging Guide<br />

z/<strong>OS</strong> MVS <strong>System</strong><br />

Messages, Vol 8<br />

(IEF-IGD)<br />

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

Prefix of<br />

Messages Issued<br />

by Program<br />

ASMA<br />

CCN for z/<strong>OS</strong><br />

V1R2 and later<br />

releases<br />

EDC<br />

Execution of any Language Environment program (including c89 and the z/<strong>OS</strong> XL<br />

C/C++ compiler) can result in run-time messages. These messages are described<br />

in z/<strong>OS</strong> Language Environment Run-Time Messages and have an EDC prefix. In<br />

some cases, c89 issues messages with Language Environment messages<br />

appended to them. Messages issued by c89 have an FSUM3 prefix.<br />

In order for c89, cc, and c++ to perform C and C++ compiles, the z/<strong>OS</strong> C/C++<br />

Optional Feature must be installed on the system. The z/<strong>OS</strong> C/C++ Optional<br />

Feature provides a C compiler, a C++ compiler, C++ Class Libraries, and some<br />

IEW<br />

Chapter 2. Shell command descriptions 69

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

Saved successfully!

Ooh no, something went wrong!