This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: porting gcc to z80 machines
- To: Ricardo Bittencourt <ricbit at zaz dot com dot br>
- Subject: Re: porting gcc to z80 machines
- From: Jan Hubicka <jh at suse dot cz>
- Date: Sun, 11 Nov 2001 15:03:19 +0100
- Cc: GCC Developers <gcc at gcc dot gnu dot org>
- References: <1005435504.20196.ezmlm@gcc.gnu.org> <3BEDDAD9.C7AD665A@zaz.com.br>
>
> Hi, people.
>
> I'm doing some projects in a machine with the Zilog Z80
> processor, and a C compiler would surely help. However, all
> C compilers for z80 I found are commercial. So I though I could
> write an gcc extension and make it compile code for Z80.
As long as I can remember, this issue has been raised up several
times and there already is port for z80 (try to search in archives,
no pointers, sorry).
The problem with gcc on z80 is register pressure that often makes
gcc go crazy, also the register pairs used by z80 are not best
for gcc, so the quiality of port may be problematic. Don't know.
Honza
>
> However, I'm begginer in gcc internals.
> Which docs should I read to start a Z80 porting ?
>
> ----------------------------------------------------------------
> Ricardo Bittencourt http://www.lsi.usp.br/~ricardo
> ricardo@lsi.usp.br "Vitrum edere possum, mihi non nocet"
> ------ Uniao contra o forward - crie suas proprias piadas ------