-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KCC - C compiler #419
KCC - C compiler #419
Conversation
@eswenson1 Does KCC work in your ES-ITS? I get this:
HELLO C is just |
`ES>:c;cc -c hello c 3: INVALID CHARACTER :KILL EMACS◊J 1: TITLE IS NOT A TYPE :KILL EMACS◊J |
I have now tested to copy several different sest of files to C, KCC, and KCC.SY. In all cases, C; TS CC fails to run. The failures are ILOPR or MPV, so I don't have much information to debug this. I suspect there's a file missing in some other directory. |
Trying to make progress... If I set a breakpoint at ZMAIN+212, I see a call to ZEXECP. If I try to $^N that call, I get an error message:
|
An xfile like this can relieve some pain:
|
Got it to work by combining AI: C; and MC: C; just like "Loki" said. I had to remove the DIR.LIST file though, because it overwrote some files with GFR links. Tank you, @mattwyrm! |
Four versions of the C; [CLIB] library are needed. STINKER is linked against version 9. The binaries for the -C and -M compiler phases are linked against 11. The -LP phase is linked against 14. And the latest version is 16. |
Testing can be done like this. First create a file called
Compile it with To link it, create another file called
and run |
Oh, and it doesn't work in SIMH! |
88adf51
to
cfe1f48
Compare
Binary-only compiler and library, plus documentation and include files for compiling new programs.
cfe1f48
to
5e5a611
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we don't have source for kcc?
There are a few files that I think are part of the C library. I don't know if it's a complete set.
But I haven't seen anything at all for the compiler itself. But there are complete sources for a few TOPS-20 versions. |
It seems we are missing source for C; C10SAV and both source and binary for C10BYT, C10CHS, C10EVL, C10FNM, C10IO, C10MIO, C10SRY. The only trace are links to backup tapes. |
To clarify: The files in the C directory aren't KCC, but Alan Snyder's C compiler. See #539. |
C;
KCC;
KCC.SY;
SYSENG; C INSERT
.INFO.; CC RECENT
EMACS1; C 1
C programs are linked with STINKR, see #418.