MEAD@usc-eclb@sri-unix.UUCP (10/02/83)
From: Dick <MEAD@usc-eclb>
Gee! I expected at least one person would have used it, but so
far all I got was a message pointing out an error in the example
program (which was not what I was looking for). I plan to try again,
so here is my query:
I have decided to try the SMALL-C Ver 2 from the CPM archives,
but I do not have the DDJ articles that may have explained how to
use it. What I need is some examples of the proper command lines
to give to Small-C, what files are necessary for the proper generation
of the assembly source file, what files are needed for M80, L80 to
assemble same, what command line is proper. I have, for example,
the files: STDIO.H, CPMCALL.C, LIB.C, SYSLIB, SMALL-C.COM, M80, L80.
Am I spposed to include some of these in the original C source??
How about an example showing how to make an executable .COM file
out of the following:
/* Hello.C simple test program */
main()
{
printf("Hello there, world!\n");
}
I noticed that invoking the Small-C program asks for 1 output file
and multiple input files, plus some diagnostic and optimizing stuff.
Any help will be appreciated.... Dick <mead@usc-eclb>
-------
-------