Newest Winavr Package Details - Where to find

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey all,

I'm just trying to build a similar set of tools on my linux box at home to my windows box at work. My box at work is running that newest WinAVR-20060125-install.exe.

Can someone please tell me what I should be installing to match things up?

ie
Binutils version, GCC version, Avrlibc version, Avrdude version, gdb version etc.

Also can someone please put these details on the Winavr Sourceforge page like was done in previous versions?

Quote:
Below is a list of all files released by this project. Before downloading, you may want to read Release Notes. The current release for each package is shown.

For the latest release the notes are not there.

Thanks heaps.
oddbudman

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

To have an identical base toolset, you'd want to use the versions and patches noted in the WinAVR User Manual document, installed on your Start menu when you install WinAVR:

Binutils 2.16.1, with the following patches:
- binutils-2.16-avr-coff.patch
- binutils-2.16-newdevices.patch
- avr-size.patch

gcc 3.4.5, with the following patches:
(Ignoring any patches that were specifically required to allow native Win32 builds)
- gcc-misspelled-signames-ada.patch
- gcc-binary-constants.patch
- gcc-3.4.5-newdevices.patch
- gcc-3.4.5-dwarf2-address-size.patch

avr-libc 1.4.3

avrdude version 5.1

gdb version 6.4

simulavr 0.1.2.1 (for simulation using gdb)
- with patch "simulavr-fix-reserved-garbage.patch"

avarice 2.4 (for JTAG debug using gdb).

Insignt 6.4 as a graphical frontend for gdb

Most of the noted patches are included in the src/ folder of your WinAVR installation; you can send them over to your Linux system and apply them to the relevant source code prior to building. The one patch that doesn't seem to be included with WinAVR's source is gcc-3.4.5-dwarf2-address-size.patch. I honestly don't know where you should look to find that patch.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

> The one patch that doesn't seem to be included with WinAVR's source
> is gcc-3.4.5-dwarf2-address-size.patch. I honestly don't know where
> you should look to find that patch.

I thought Eric withdrew that patch, as it was a too quick shot that
made AVR Studio bomb. It had only been applied to the 20060119
version, but he then realized that such a change needs to be
coordinated with Thorleif Sandnes.

(For the curious: the patch is to overcome the 64 KB code limitation
for DWARF-2 debugging that is currently present.)

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Joerg is correct: that patch was withdrawn at the last minute. In talking with Torleif, we are planning to include this when we move to GCC 4.1.x. This won't be in the next release (as this will be a quick release to fix a compiler bug), but it very well will be in the following release. I don't yet have a timeline on this, but it will probably be sometime after the beginning of April.