[comp.lang.asm370] Small C

TROTH@RICEVM1.RICE.EDU (Rick Troth) (08/29/90)

        Thanks to the several people who replied on the SAVE area question.
In my dealings with the various C compilers available for CMS,  I've had
to figure out the stack,  which includes SAVE area support in its function.

        I'm to the point now where I'm tempted to write my own C-to-Assembler
code converter.  All three commercial C compilers, Waterloo, SAS/C, and
IBM C/370,  provide more than we really need for systems programming and
require their own runtime library and process "main" differently than
other routines.  We need to be able to get around all this.

        I looked at Byte's (credit to others is due) Small C,  but that
is kind of a mess.  Anyone got any suggestions?  Anyone written a small
C compiler?  All I think I need is the bare minimum.  We should separate
the pre-processing into another module.  I'm looking for code generation.

 Rick Troth <TROTH@RICEVM1.RICE.EDU> ------------- Rice ONCS VM Systems Support

URZ49@DMSWWU1A.BITNET (Stefan Ost) (08/30/90)

Within SAS/C you can provide your own run time environment using the
General Operating System (GOS) interface. I have used the GOS interface
to write a run time environment for GCS.

/Stefan Ost