Date : Wed, 23 Mar 1983 02:27:00 EST
From : Ronald G. Fowler <RGF@mit-mc.arpa>
Subject: [RGF: Small-C V2 doc??]
Date: 23 March 1983 02:21 EST
From: Ronald G. Fowler <RGF>
To: MEAD at USC-ECLB
cc: RGF
Re: Small-C V2 doc??
Yes, the HEX file seems to be the linked version of the sources. I
was able to generate a new compiler from the sources by assembling
each, then using L80 to link them together. I believe the cmmand
line I used was
L80 RUNTIME,CC1,CC2,CC3,CC4,CALL,SYSLIB/S,CC/N/Y/E.
You'll get some undefined globals from this; they are references
in the header (at top of each CCx.MAC) that are externals declared and
never referenced. They cause no problem, but I edited them out of my
local versions of the CCx.MAC files, just to keep it clean. Note that
these globals are for Hexdrix's SMALL-VM package, which is not used
unless expressly turned on when C is compiled.
As background, the CCx.MAC files are not the source for the compiler,
but rather the output of a version 1 compiler (running on a UNIX
machine). Hence, to make any substantial changes to the compiler,
you'd need the CCx.C source files. I haven't actually gotten as far
as recompiling the compiler on itself. --Ron Fowler