This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: porting gcc to z80 machines


> 
> 	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 ------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]