Pages: [1]   Go Down
Author Topic: avr-libc version - when will it be updated?  (Read 1355 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
Ignoto Consulting
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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 and,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.)


SF Bay Area (USA)
Offline Offline
Tesla Member
Karma: 137
Posts: 6792
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.)

Pages: [1]   Go Up
Jump to: