Is the PIC port of the SDCC completed yet? In theory there is no difference between theory and practice. In practice there is a whole bunch of difference. I pick practice. Bad things like software bugs do not come one at a time but in bunches and groups. My apologies to Mr Shakespeare. Steve B -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Scott Dattalo Sent: Monday, December 31, 2001 10:36 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: Porting from one C compiler to another.[PIC] On Mon, 31 Dec 2001, wouter van ooijen & floortje hanneman wrote: > > I really wish someone would port the GCC compiler to the PIC line. I have > > used it with 68K variants with good luck. > > > > Any Volunteers?? > > Has been discusses to death. And that is IMHO the only fate for such an > attempt: the architecture of gcc and PIC as too far apart. As far as gcc is > concenred AVR or 8051 are almost mainstream architectures, while PIC is a > strange beast. But luck if you want to try yourself! Be sure to consult with > Scott first, I'm sure he has considered gcc before thking on sdcc. There are two reasons I chose SDCC over gcc. SDCC has been optimized for tiny processors and their built in obscurities. For example, the mid range PIC's have no data stack for passing parameters or storing temporaries. SDCC deals with this quite conveniently by allowing PORT specific ways for passing parameters (I sacrificed recursion and decided to pass function parameters through local variables). The other reason I chose SDCC is that I didn't want to support binutils in gpasm and gpsim. I suppose gcc can be coerced into ignoring binutils, but SDCC again handles this well. One person has contacted me about a PIC gcc port. However, after they realized the amount of effort involved I believe they gave up. BTW, SDCC's syntax parser is derived from gcc... Scott -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body