Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!netcom!eager From: eager@netcom.UUCP (Michael Eager) Newsgroups: comp.lang.c Subject: Re: C on IBM MVS or VM/CMS Keywords: C IBM mainframe request Message-ID: <4767@netcom.UUCP> Date: 1 Dec 89 07:51:25 GMT References: <249@dlogics.UUCP> Organization: NetCom- The Bay Area's Public Access Unix System {408 997-9175 guest} Lines: 23 kam@dlogics.UUCP (Kevin Mitchell) writes: >We're considering porting some software to IBM machines running >MVS or VM/CMS. If you know any good information about C compilers >on these machines, please comment. I ported a version of Spice consisting of several hundred modules and about 110,000 lines of C from Sun to MVS using the compiler which IBM provides (I can't seem to remember who really makes the compiler). There were a number of problems: the MVS compiler is ANSI-ish, the Sun is K&R; I needed to translate all [ to ??( and ] to ??) (who would have thought that trigraphs were actually useful?); and I had to eliminate multiple definitions of global variables (Sun just merges the definitions). There is a second compiler available for MVS & VM, I believe by Lattice. I have not used it, but the documentation appears to be significantly better than the IBM compiler and there appear to be more of the common library routines. -- Mike Eager Eager Consulting, 481 Century Drive, Campbell, CA 95008 (408) 378-8820