Re: How to give avr-gcc the ability to understand binary (eg. b00010110)

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

 



lynx.abraxas@xxxxxxxxxx wrote:

> I'm wondering why my selfcompiled avr-gcc under Linux is not capable of binary
> numbers like b00010110. In much code there is this binary  syntax  and  it  is
> very  annoying  having  to change it into hex manually. How can I give avr-gcc
> this ability?

This feature has existed as a patch for years but only only recently was
added to FSF gcc.  So you'll either need to use a recent version of gcc
4.3 (r125346 or later) or you'll need to use somebody's AVR out-of-tree
patchset which contained the patch.  Or I suppose you could try
backporting the patch yourself.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23479
http://gcc.gnu.org/viewcvs?view=rev&revision=125346
http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01458.html

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux