From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13653 invoked by alias); 2 Oct 2009 00:19:08 -0000 Received: (qmail 13640 invoked by uid 22791); 2 Oct 2009 00:19:07 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pz0-f203.google.com (HELO mail-pz0-f203.google.com) (209.85.222.203) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Oct 2009 00:19:03 +0000 Received: by pzk41 with SMTP id 41so716390pzk.0 for ; Thu, 01 Oct 2009 17:19:01 -0700 (PDT) Received: by 10.115.39.23 with SMTP id r23mr3110369waj.2.1254442740748; Thu, 01 Oct 2009 17:19:00 -0700 (PDT) Received: from Paullaptop (124-170-16-182.dyn.iinet.net.au [124.170.16.182]) by mx.google.com with ESMTPS id 20sm307301pzk.13.2009.10.01.17.18.57 (version=SSLv3 cipher=RC4-MD5); Thu, 01 Oct 2009 17:18:59 -0700 (PDT) Message-ID: <044B50831138451D848796E67E32344D@Paullaptop> From: "Paul Edwards" To: "Toon Moene" , "David Edelsohn" Cc: "GCC Development" References: <200909251516.n8PFGPYn014618@d12av02.megacenter.de.ibm.com> <4F1842D6879348899E3A1999066969F5@Paullaptop> <200910011528.11586.paul@codesourcery.com> <1FFBE29D3726466BAD8DB886379DAD49@Paullaptop> <303e1d290910011410l5b335efdyd19615157bed4eb3@mail.gmail.com> <4AC52BA6.6050600@moene.org> In-Reply-To: <4AC52BA6.6050600@moene.org> Subject: Re: i370 port - constructing compile script Date: Fri, 02 Oct 2009 00:19:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg00030.txt.bz2 >>>>> But from the Unix system, I need to be able to generate the >>>>> above very simple compile script, which is a precursor to creating >>>>> very simple JCL steps (trust me, you don't want to see what >>>>> ST2CMP looks like). Note that the JCL has the filenames >>>>> truncated to 8 characters, listed twice, uppercased, and '-' >>>>> and '_' converted to '@'. > >> Why are you not making use of z/OS Unis System Services? GNU Make and >> other GNU tools are available and already built for z/OS. USS is not available for free, or even for a price on MVS 3.8j, and it is not native MVS, it is an expensive overhead. It's a bit like asking "why don't you use a JCL emulator instead of make on Unix?". :-) You know, even as a batch job with JCL, people then said to me that reading the C source from a file instead of "standard input" (ie stdin, ie //SYSIN DD) is really weird, and so I had to make a pretty small mod to GCC to allow "-" as the filename, so that the JCL at least looks like a normal MVS compiler. > Perhaps because he is a hacker in the good ol' sense of the word ? > > Mjam, MVS, JCL, the possibility of COBOL, perhaps even PL/1 ... Both Cobol and PL/1 front-ends are already supported to some extent ... http://www.opencobol.org/ http://pl1gcc.sourceforge.net/ although we're not really at the stage of even attempting to get that onto native MVS. Actually, PL/1 basically requires GCC 4.x, which is my main interest in upgrading 3.4.6 to 4.x. :-) Someone else said he would like to see PL/S, and maybe if PL/1 was available, the super-secret PL/S language would start to be made available. But it all rests on getting the HLASM-generator working on a more modern GCC. :-) And C90 is the lingua franca. > [ Over a quarter of century ago I worked at the computer center > of the Dutch Postal Service. One of my colleagues managed the > IBM system group. He had an assistant to write the JCL jobs he needed > for him. ] Maybe for old times sake you'd like to load up: http://mvs380.sourceforge.net It comes with GCC so you can now do what you always wanted to do back then. :-) And of course, all perfectly usable on z/OS too. Natively. :-) 850,000 lines of assembler. Like wow, man. I wonder what GCC 4.4 will clock in as? 3.2.3 was 700,000, so we're probably up to a million lines of pure 370 assembler. :-) BFN. Paul.