> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Steve Comstock > Sent: Tuesday, May 31, 2011 4:13 PM > To: [email protected] > Subject: Re: Metal C and System Programming C (SPC) > > On 5/31/2011 1:55 PM, Tony Harminc wrote: > > On 31 May 2011 15:47, Steve Comstock<[email protected]> wrote: > >> Are these two products essentially the same? I'm > >> thinking Metal C is the XL C version and SPC is > >> from an earlier C compiler (maybe even pre-z/OS), > >> but I can't find any confirmation. Anyone know > >> the answer to this bit of trivia? > > > > No - Metal C generates assembler language statements; SPC C generates > > object decks. I have no knowledge of how they differ under the covers, > > but unlike SPC, Metal C does not support e.g. the "generate backlevel > > instructions" options, and does support inline assembler statements, > > so it sounds as though there are quite different paths, presumably > > with some common code. > > > > Tony H. > > OK, thanks. One further clarification then: is SPC available > as part of the current XL C/C++ compiler, or is it a stand > alone product?
Steve, AFAIK SPC and Metal C are all part of the same product. The SPC documentation is part of the XL C/C++ documentation as well, even though the Metal C docs are separate. The JCL EXEC statement to execute (whatever)C is all the same, EXEC PGM=CCNDRVR, and the STEPLIB's are also the same. The PARM controls what version you actually run. Tony, I'm not so sure about your statement that Metal C does not support "generate backlevel instructions". It seems to me that using PARM='ARCH(0),TUN(0)' would produce "backlevel" instructions from any of the C compiler outputs, would it not? Peter -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

