From: mac on
> > Is there a GCC for the 8051? SDCC yes, GCC, as far as I know, no.
>
> Oops. I didn't realize the OP meant 8051. I assumed he meant
> AVR, AVR32, or ARM. To answer you question, there isn't an
> 8051 backend for gcc.


There is, however, SDCC, which does have an 8051 back-end.
<http://sdcc.sourceforge.net/>
From: David Brown on
Grant Edwards wrote:
> On 2009-09-16, FreeRTOS info <noemail(a)mentioned.com> wrote:
>
>>>> Any suggestions of the compiler software you're using to
>>>> write/compile your code and create hex files to upload to the
>>>> ATMEL microcontrollers.
>>> I prefer gcc. It's the compiler I use for 8 other processors,
>>> and I find it helps productivity to use the same set of tools
>>> on multiple projects even when the processor differs.
>> Is there a GCC for the 8051? SDCC yes, GCC, as far as I know, no.
>
> Oops. I didn't realize the OP meant 8051. I assumed he meant
> AVR, AVR32, or ARM. To answer you question, there isn't an
> 8051 backend for gcc.
>

With a bit of luck, the OP is at an early enough stage that he can pick
something other than the 8051 before it is too late...
From: Jack on
On 17 Set, 09:35, David Brown <da...(a)westcontrol.removethisbit.com>
wrote:

> > Oops.  I didn't realize the OP meant 8051.  I assumed he meant
> > AVR, AVR32, or ARM.  To answer you question, there isn't an
> > 8051 backend for gcc.
>
> With a bit of luck, the OP is at an early enough stage that he can pick
> something other than the 8051 before it is too late...

Let's hope he will not pick a PIC. :)

Ciao Jack
From: ChrisQ on
David Brown wrote:
> Grant Edwards wrote:
>> On 2009-09-16, FreeRTOS info <noemail(a)mentioned.com> wrote:
>>
>>>>> Any suggestions of the compiler software you're using to
>>>>> write/compile your code and create hex files to upload to the
>>>>> ATMEL microcontrollers.
>>>> I prefer gcc. It's the compiler I use for 8 other processors,
>>>> and I find it helps productivity to use the same set of tools
>>>> on multiple projects even when the processor differs.
>>> Is there a GCC for the 8051? SDCC yes, GCC, as far as I know, no.
>>
>> Oops. I didn't realize the OP meant 8051. I assumed he meant
>> AVR, AVR32, or ARM. To answer you question, there isn't an
>> 8051 backend for gcc.
>>
>
> With a bit of luck, the OP is at an early enough stage that he can pick
> something other than the 8051 before it is too late...

I used to think that, but experience over several projects where the
choice was made elsewhere convinced me they can be very usefull. There
are probably hundreds of variants, later spinoffs are very fast and
there are some very good tools around. They are cheap and fast enough to
use as logic replacement, rather than gate arrays, where no two
manufacturers products and tools look the same or are compatable.

If you want to see a really stripped down micro, have a look at the
Fairchild ace series.

It's just about choosing the right micro to fit the task at hand...

Chris
From: David Brown on
ChrisQ wrote:
> David Brown wrote:
>> Grant Edwards wrote:
>>> On 2009-09-16, FreeRTOS info <noemail(a)mentioned.com> wrote:
>>>
>>>>>> Any suggestions of the compiler software you're using to
>>>>>> write/compile your code and create hex files to upload to the
>>>>>> ATMEL microcontrollers.
>>>>> I prefer gcc. It's the compiler I use for 8 other processors,
>>>>> and I find it helps productivity to use the same set of tools
>>>>> on multiple projects even when the processor differs.
>>>> Is there a GCC for the 8051? SDCC yes, GCC, as far as I know, no.
>>>
>>> Oops. I didn't realize the OP meant 8051. I assumed he meant
>>> AVR, AVR32, or ARM. To answer you question, there isn't an
>>> 8051 backend for gcc.
>>>
>>
>> With a bit of luck, the OP is at an early enough stage that he can
>> pick something other than the 8051 before it is too late...
>
> I used to think that, but experience over several projects where the
> choice was made elsewhere convinced me they can be very usefull. There
> are probably hundreds of variants, later spinoffs are very fast and
> there are some very good tools around. They are cheap and fast enough to
> use as logic replacement, rather than gate arrays, where no two
> manufacturers products and tools look the same or are compatable.
>
> If you want to see a really stripped down micro, have a look at the
> Fairchild ace series.
>
> It's just about choosing the right micro to fit the task at hand...
>

It certainly is always about choosing the best device for the job. It's
just that many people /don't/ choose the best device for the job - they
pick an 8051 or PIC because that's the microcontroller they've heard of,
or because they used one ten years ago. Sometimes an 8051 or a PIC /is/
the right device to pick, but when someone posts with no more than vague
ideas about some tools, the chances are they are at an early stage in
the process. Now is the right time for the OP to think about what they
really need, and what device family is best suited to the job - before
investing time, effort and money in tools, hardware or development.