address@hidden wrote:
I am a little confused about gcc support for mega48/88.
I would like to build gcc-avr for my linux boax. From what I
understand gcc 3.4.3 does not support mega48/88, but I noticed that
WinAVR gcc 3.4.3 supports mega48/88 .. idential version numbers.
Further, there has been some discussion about patching the compiler,
which unfortunately I could use some direction.
Basically, I need help on how to get my linux gcc 3.4.3 compiler to
support mega48/88.
Support for those devices (and some others) are in GCC 4.0 branch in
CVS, and binutils HEAD CVS, i.e. they are not released yet for those
projects.
Support for those devices *is* included in the latest release of
avr-libc, version 1.2.3.
There are patches for Binutils 2.15 and GCC 3.4.x series in the
avr-libc project Patch Manager. You can find them here:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=2923>
You will want the files:
gcc-3_4_x-avr-new-devs2.patch
binutils-avr-new-devs.patch
These files are listed down towards the bottom of the tracker. These
are the patches that WinAVR uses to provide support for these devices.
Again, you do NOT need to patch avr-libc, just get the latest release.
<https://savannah.nongnu.org/patch/download.php?item_id=2923&item_file_id=4131>
HTH
Eric