CP/M was an OS for the 8080/Z80, which was limited to 64k of RAM.
None of the tools that you know today would work in something that small.
There was a C compiler for a dialect of C that met these constraints; I didn't have it, and I didn't know C at the time.