C COMPILER FOR IBM MAINFRAME

Larry Jones scjones at sdrc.UUCP
Sun May 22 03:54:32 AEST 1988


I know of the following compilers - most have versions for VM/CMS as well as
MVS if that should be of any interest.  I don't have addresses or phone numbers
handy - sorry.

AT&T
	There is a PCC version available.  There are some provisions for C
	modules calling other languages (by declaring the routine "fortran"),
	but I had to hack the compiler to allow C to be called from other
	languages.  (This was a while ago, so it may have been fixed, but I
	doubt it.)  The language and library are what you would expect from
	the authors of C and Unix.  There is no support available, but the 
	compiler comes with source code if you want to do-it-yourself.

IBM
	This is a warmed-over version of the Whitesmiths compiler.  Last time
	I looked at it there was NO interlanguage capability at all (would
	you believe VAX standard calling sequences?!?).  This may well have
	changed by now.

SAS/Lattice - SAS Institute, Cary, NC
	This is a port of the Lattice IBM PC compiler.  SAS has done quite a
	good job with this.  The C calling sequence is compatible with the
	standard OS calling conventions so that it is possible for C modules
	to call and be called from other languages without any undue effort.
	The language is fairly standard, as is the library.  (The I/O library
	was somewhat deficient but has been fixed in a recent release.)

Waterloo
	Yet another compiler from the folkes who made WATFOR and WATFIV into
	common, everyday words.  The language and library seem to be fairly
	standard.  Interlanguage compatibility is through a library of
	interface routines which requires hacking your source code to death.

Whitesmiths
	See IBM.

Of these, I have used only the AT&T and SAS compilers.  If people have
questions, I will try to answer them, but I make no guarantees as to the
timeliness or correctness of the answers.

----
Larry Jones                         UUCP: ...!sdrc!scjones
SDRC                                AT&T: (513) 576-2070
2000 Eastman Dr.                    BIX:  ltl
Milford, OH  45150
"When all else fails, read the directions."



More information about the Comp.lang.c mailing list