The avr-gcc version (5.4.0) is a bit aged compared to a possible 8.3.0.

Asked by Stefan Rueger

The gcc-avr package provides a relatively old avr-gcc version of 5.4.0. Arch Linux, in comparison, provides the relatively recent version of 8.3.0-1. This newer compiler version creates markedly different, and apparently more efficient code - savings in terms of code size and in terms of execution time.

To wit, when calling avr-gcc --version, the output is "avr-gcc (GCC) 5.4.0
Copyright © 2015 Free Software Foundation, Inc...". What it should be is "avr-gcc (GCC) 8.3.0 ... 2019..."

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gcc-avr Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adolfo Jayme Barrientos (fitojb) said :
#1

Thanks; I’ve now triaged bug #1770747.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Arch is a rolling release distribution so will have bang up to date packages. Ubuntu is not so...it doesn't

Can you help with this problem?

Provide an answer of your own, or ask Stefan Rueger for more information if necessary.

To post a message you must log in.