Go Down

Topic: avr-libc version - when will it be updated? (Read 1 time) previous topic - next topic



As far as I understand, the current Arduino release 0022 is bundled with avr-libc 1.6.4 (at least the Windows version is). I know that repositories under Linux might have newer versions of avr-libc (e.g. Ubuntu 10.10. has 1.6.8 ) but all of them seem to be quite far behind the current release (1.7.1).

Are there plans to update the C library in an upcoming Arduino release?

The reason I'm asking is because there's at least one bug to do with malloc/realloc/free (see http://savannah.nongnu.org/bugs/?27242 and http://arduino.cc/forum/index.php/topic,46948.0.html) which affects releases prior to 1.7.*. (In my case this means I cannot use realloc to reduce the size of an existing string buffer to conserve memory.)



I think arduino on Windows uses one of the latest versions of "winavr" for its compiler and library infrastructure.  And I think that still has avr-libc 1.6.x bundled with it...

You can probably install a newer avr-libc manually...

I don't know what (if anything) the arduino team has planned for a post-winavr world.  (Apparently winavr development is essentially stopped.  As much as it was ever separate from gcc/libc/etc development.)  (Versioning hell is part of the downside of open source, unfortunately.)

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131