Hello ELKS:ers and Amstraders!
You are both interested in a C compiler for the Z80.
I am crossposting this for all of you to read.
(Maybe a few Amstrad people will also be interested in ELKS,
an attempt to port linux to intel 8088 and later the Z80.)
This is from Embedded Linux Kernel Subset mailing list:
--------------------------------------------------------
On Fri, 21 May 1999, David Murn wrote:
> On Wed, 19 May 1999, Sven 'Zak' Kozma wrote:
>
> > All I found (with help of this list) was the zcc, but I don�t think it could
> > make it ... :-(
>
> zcc (which I think uses scc) was the compiler originally used to compile
> ELKS for the Z80, if memory serves correctly (alan?).
>
> If we start back at 0.0.12 (which used to compile for Z80), then simply
> apply patches up fixing as we go along (for 60ish versions), we should
> have a kernel which still works.
>
> At least this is how I envisioned doing such a project.
> Davey
A CP/M ANSI C compiler for the Z80 processor can
be found here:
http://mds.mdh.se/~dat95jen/z80/CPM-C.tar.gz
You also need LHA or DOS.
Maybe you need CP/M or an emulator too,
don't remember.
I think this is a CP/M program, not a crosscompiler.
It is free for noncommercial use.
The CP/M issue should not be a problem. There are good
CP/M emulators around, one of them run partly native
and is essentially a "DOS downgrader", I'm told.
I am letting the Amstrad people know this too,
since they wanted to have a free CP/M C compiler.
regards,
Jakob