[Tinyos-devel] RE: avr-gcc 4.x upgrade
Janos Sallai
sallai at isis.vanderbilt.edu
Wed Oct 24 08:50:24 PDT 2007
Eric,
It is gcc 4.1.2 from ftp.gnu.org, with pretty much the same patches as what the corresponding winavr version has (new devices, atm256x, etc). I didn't apply the patch for bug #25448, because it was giving an assertion error. I didn't apply the one that changes the version string to include "winavr", either. You may want to check the spec file in the srpm for details.
I also tried a couple of other versions. These were either giving internal compiler errors (e.g. 4.2.2), or it was hard to find the patches with support for the latest MCUs.
Regarding the host platforms: I did some builds on cygwin/win32 and linux (xubuntos). The srpms should build on both, though you first make sure that the binaries are not stripped by the rpmbuild scripts on cygwin (which is the default).
Binutils is version 2.17, similarly from ftp.gnu.org, with the all the patches winavr has. I also included the tinyos specific dollar sign patch for backwards compatibility.
Janos
-----Original Message-----
From: Eric Weddington [mailto:eweddington at cso.atmel.com]
Sent: Wednesday, October 24, 2007 10:22 AM
To: Janos Sallai; Tinyos-devel at millennium.berkeley.edu
Cc: 'Philip Levis'; regehr at cs.utah.edu
Subject: RE: avr-gcc 4.x upgrade
> -----Original Message-----
> From: Janos Sallai [mailto:sallai at isis.vanderbilt.edu]
> Sent: Tuesday, October 23, 2007 9:26 PM
> To: Tinyos-devel at millennium.berkeley.edu
> Cc: eweddington at cso.atmel.com; Philip Levis; regehr at cs.utah.edu
> Subject: avr-gcc 4.x upgrade
>
> I spent some time with avr-gcc 4.x in the past few days. It
> appears to works fine with T2. All the apps compile the same
> way as with avr-gcc 3.x. The select few I installed on real
> motes appeared to work as expected. The code size is
> typically 5% smaller. I can share with you the outputs of
> "make micaz", should you be interested in the details.
This is good news. Thanks for taking the time to look into it.
A couple of quick questions:
What exact version of 4.x did you use?
What host platform was this built on?
What patches did you use on the toolchain, or, which toolchain distribution
did you use?
Thanks,
Eric Weddington
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.15.3/1081 - Release Date: 10/19/2007 5:41 PM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.15.3/1081 - Release Date: 10/19/2007 5:41 PM
More information about the Tinyos-devel
mailing list