gnupic: Re: [gnupic] GCC port of PIC


Previous by date: 15 Mar 2006 20:39:48 +0000 Re: [gnupic] cvs updates, Borut Razem
Next by date: 15 Mar 2006 20:39:48 +0000 Re: [gnupic] GCC port of PIC, Wayne Topa
Previous in thread: 15 Mar 2006 20:39:48 +0000 [gnupic] GCC port of PIC, David Santo Orcero
Next in thread: 15 Mar 2006 20:39:48 +0000 Re: [gnupic] GCC port of PIC, Wayne Topa

Subject: Re: [gnupic] GCC port of PIC
From: "Scott Dattalo" ####@####.####
Date: 15 Mar 2006 20:39:48 +0000
Message-Id: <62780.71.139.31.153.1142445426.squirrel@71.139.31.153>

On Wed, 2006-03-15 at 17:31 +0000, Colm O' Flaherty wrote:

> Does anyone have any experience developing a port for gcc?

I have a little experience with gcc porting. I also have experience with
SDCC.

> If we got something basic up and running, and then put it on sourceforge, I
> guess we'd find out fairly quickly where the issues were, and what support
> people wanted, as people started to use it.

Don't underestimate the amount of effort!

There are two references for a gcc PIC port: the AVR port and the dsPic
port. Both of these are significantly different. Specifically, the 14bit
PICs only have primitive support for indirect addressing and no hardware
support for a data stack. I think you'll find that while gcc makes very
few assumptions about processors, it does assume these two features are
present! Now it's possible to contrive RTL to coax gcc into believing
these exist, but man it's messy!

Scott


Previous by date: 15 Mar 2006 20:39:48 +0000 Re: [gnupic] cvs updates, Borut Razem
Next by date: 15 Mar 2006 20:39:48 +0000 Re: [gnupic] GCC port of PIC, Wayne Topa
Previous in thread: 15 Mar 2006 20:39:48 +0000 [gnupic] GCC port of PIC, David Santo Orcero
Next in thread: 15 Mar 2006 20:39:48 +0000 Re: [gnupic] GCC port of PIC, Wayne Topa


Powered by ezmlm-browse 0.20.