Mark McDougall | 2 Dec 2004 22:25
Picon

Re: GCC for the 6809

A Schober wrote:

> There appears to be a decently working C compiler at
> sdcc.sourceforge.net.  It is primarially for 8051s but
> also has a basic 68HC08 target (and others).  This
> might be easier to work on than the gcc behemoth.

Yes, I've actually used sdcc (8051) for a 'real' product.

It has a few limitations/bugs, and I can't say I've even looked 'under the 
hood', but IMHO I think it would be a more suitable candidate for the 6809 
than gcc. From what I've heard, gcc is really only suited to 16-bit and 
above CPUs.

How much work do you think you've put into gcc so far James? And how much 
more until it's 'done'?

Regards,

-- 
|              Mark McDougall                | "Electrical Engineers do it
| <http://members.optushome.com.au/msmcdoug> |   with less resistance!"

--

-- 
Coco mailing list
Coco@...
http://five.pairlist.net/mailman/listinfo/coco

James Dessart | 5 Dec 2004 02:41
Picon

Re: GCC for the 6809


On 2-Dec-04, at 4:25 PM, Mark McDougall wrote:

> Yes, I've actually used sdcc (8051) for a 'real' product.
>
> It has a few limitations/bugs, and I can't say I've even looked 'under 
> the hood', but IMHO I think it would be a more suitable candidate for 
> the 6809 than gcc. From what I've heard, gcc is really only suited to 
> 16-bit and above CPUs.

gcc can be used for 8-bit machines, such as the AVR series of 
microcontrollers and the 68hc11 and family. It's also much closer to 
ANSI C compliance, and affords compatibility with C++.

> How much work do you think you've put into gcc so far James? And how 
> much more until it's 'done'?

A few hours. Mostly just porting the patches to the 3.1.1 version of 
gcc. However, the backend that was written is pretty basic, and doesn't 
support a lot of useful things, like PIC code or soft-registers (using 
the DP). To add that, the easiest route is to port the 68hc11 backend. 
However, it's really big and I have no idea where to start.

James

--

-- 
Coco mailing list
Coco@...
http://five.pairlist.net/mailman/listinfo/coco

(Continue reading)

Tim S | 3 Dec 2004 03:14
Picon
Favicon

Re: GCC for the 6809

Might want to also look at the http://sdcc-m08.sourceforge.net/ also the 
stuff seems to be all 8 months old,
but it might be worth it in case it has NOT all been rolled into SDCC.

Tim S

"Mark McDougall" <msmcdoug@...> wrote in 
message news:41AF8863.1040908@...
>A Schober wrote:
>
>> There appears to be a decently working C compiler at
>> sdcc.sourceforge.net.  It is primarially for 8051s but
>> also has a basic 68HC08 target (and others).  This
>> might be easier to work on than the gcc behemoth.
>
> Yes, I've actually used sdcc (8051) for a 'real' product.
>
> It has a few limitations/bugs, and I can't say I've even looked 'under the 
> hood', but IMHO I think it would be a more suitable candidate for the 6809 
> than gcc. From what I've heard, gcc is really only suited to 16-bit and 
> above CPUs.
>
> How much work do you think you've put into gcc so far James? And how much 
> more until it's 'done'?
>
> Regards,
>
> -- 
> |              Mark McDougall                | "Electrical Engineers do it
> | <http://members.optushome.com.au/msmcdoug> |   with less resistance!"
(Continue reading)


Gmane