• Please review our updated Terms and Rules here

"Best" CP/M Z80 C compiler suite?

whartung

Veteran Member
Joined
Apr 23, 2020
Messages
749
Is anyone doing C work ON a native machine?

Which compiler and other tools are you using?

Which ones have a decent I/O library? Which are faster at building than others?

Not interested in cross compilers, looking for something platform, and it's running on a period Z80 (4Mhz, not one of those modern 30MHz zippy jobs).

What is your C workflow today?

I may consider writing it native on my machine and porting the source over, just need to set the local compiler to not spit up at K&R style C.

But that means the suite needs to be reasonably compatible. I'm mostly thinking stdio compatibility (including seek behavior).

Something that may support overlays would probably be nice as well.
 
Hitech C is pretty good. Almost-but-not-quite ANSI. You can run it on a modern OS with zxcc as a cross compiler, or native on CP/M.
 
I took a simple to do list program I wrote in C for my Linux desktop and Hi-Tech C natively compiled it on my Zeta-SBC Z80 CP/M computer with no issues.
 
Back
Top