avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] gcc binary


From: E. Weddington
Subject: Re: [avr-gcc-list] gcc binary
Date: Wed, 03 Mar 2004 12:38:51 -0700

On 3 Mar 2004 at 20:20, Joerg Wunsch wrote:

> As "E. Weddington" <address@hidden> wrote:
> 
> >Worse: its not even a part of the C language. It has nothing to do
> >with GCC, or the AVR.
> 
> It seems to be quite common among µC C compilers.  Unlike the PORTB.0
> notation where I don't see how this would ever fit at all into legal C
> syntax, I can imagine that 0b is a perferctly legal vendor extension
> for a compiler.
> 
> Just curious, I've once made a patch for GCC that implements it.  This
> was merely intented to be a proof of concept.  Does anyone
> incidentally know whether this feature might have already been
> proposed (and perhaps put down) to the GCC folks?  If not, do people
> feel I should submit that patch?
> 

As an alternative, it has been implemented as a C macro. It can be found on 
comp.arch.embedded (sorry for the wrapping):

<http://groups.google.com/groups?hl=en&lr=&ie=UTF-
8&frame=right&th=f266a843f7299de3&seekm=40431BB6.4010803%40mew.uni-
erlangen.de#link1>

_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list


reply via email to

[Prev in Thread] Current Thread [Next in Thread]