Show Navigation
Conversation
Notices
-
Anyone on here have experience with compiling avr-gcc? I need to upgrade to gcc version 8 to get decent output (like not uselessly pushing r0 and r1 in ISRs, a 12 year old bug), and Debian doesn't seem to have it. Or maybe it's possible to get bleeding edge packages from somewhere?
-
$ avr-gcc --version
avr-gcc (GCC) 8.0.0 20171007 (experimental)
\o/
Now to get it to install headers and a proper version of avr-libc..
-
It works! Managed to compile a project with it. I am now on the bleeding edge of 8-bit development :]
For the record, here's the guide I ended up using: https://emil.fi/toolchain . Thanks fly out to Emil in #avr @ freenode
Unfortunately an empty ISR still generates a whole bunch of useless pushes & pops, instead of a single reti instruction as one would expect of any decent compiler