turner@imagen.UUCP (D'arc Angel) (01/14/87)
awhile ago i remember someone asking if mark williams c could be run from within beckemeyer's microcshell, well i just got mwc and after a little midnight hacking (literally) i came up with the following shell which seems to successfully run mwc. it is very primitive but one of the PD cc programs could easily be modified to do the same thing a little cleaner. mwc is in the directory c:\mwc\ and f:\tmp\ is my temp directory. The number 25516 used in the work filenames should be dynamically generated with a random number generator. I have no idea what D23400000000 is.. -----cut here-----cut here-----cut here-----cut here-----cut here-----cut here c:\mwc\cpp -Ic:\mwc\ -o f:\tmp\cc25516a $1.c c:\mwc\cc0 D23400000000 f:\tmp\cc25516a f:\tmp\cc25516b c:\mwc\cc1 D23400000000 f:\tmp\cc25516b f:\tmp\cc25516a c:\mwc\cc2 D23400000000 f:\tmp\cc25516a $1.o f:\tmp\cc25516b rm f:\tmp\cc25516a rm f:\tmp\cc25516b c:\mwc\ld -X -d -r c:\mwc\crts0.o $1.o c:\mwc\libc.a c:\mwc\gemfix l.out $1.prg rm l.out rm $1.o -- --------------- C'est la vie, C'est la guerre, C'est la pomme de terre Mail: Imagen Corp. 2650 San Tomas Expressway Santa Clara, CA 95052-8101 UUCP: ...{decvax,ucbvax}!decwrl!imagen!turner AT&T: (408) 986-9400