=?iso-8859-1?Q?Gr=E9goire=5FDooms?= writes:
> I'd like to port gcc to the Microchip PIC 8 bit microcontroller familly.
Ouch. Are you really sure that you want to do this? Gcc requires
reasonably efficient addressing of stack frames in order to spill and
fill when there are insufficient physical registers. This might be
hard to do on the PIC. gcc has been [orted to some 16-bitters, but a
microcontroller is a stretch.
Well yes, but remember that gcc has been ported to run on AVR (and quite
successfully IMHO). AVR is the "sibling"-product for PIC's. It is a
8-bit microcontroller, with some limited 16-bit extensions. I do not
know anything about PIC's, but I think the target should be able to
handle gcc code.