avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] binutils, gcc and avr-libc versions


From: Bob von Knobloch
Subject: Re: [avr-chat] binutils, gcc and avr-libc versions
Date: Sun, 28 Apr 2013 11:34:32 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

On 28/04/13 11:28, "Ing. Daniel RozsnyĆ³" wrote:
Hi,
   don't be surprised. Upgrading the toolchain breaks things seriously.
Once I've tried to do so I ended up with unimaginable problems which
were hard to track down. When I found out what the issue was, I decided
not to upgrade.

   The change between avr lib versions was that they changed the order
of arguments in eeprom access functions, so the source and destination
became swapped.

   Crazyness.

   Regarding to your const issue - try to fix your sources with a
script. I had to do that in PHP when they replaced ereg with preg and
the syntax was a little different.

Daniel


Thanks for your comments Daniel.
I would certainly make a sed/awk script to do the job, but first need to decide if I want this 'upgrade'.
I wonder what else is waiting to catch me?

BTW which version swapped the eeprom access args (if you can remember)?

Bob

--
The Sun is out, the sky is blue, it's time to drive the MR2.



reply via email to

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