Updating gcc versions

Posted:
Sun Apr 29, 2018 9:53 pm
by slackmoehrle
Does anyone have any advice on updating gcc versions from 4.9 to 7.3? I have tried but I am getting some errors during `make`. I was hoping that someone has at least updated past 4.9 to a newer version and perhaps I can outline what I am doing. 4.9 is pretty good. Covers c++11 and a few features from c++14 and c++17 but it would be nice to take advantage of some newer features that I already use in other projects.
Re: Updating gcc versions

Posted:
Mon Apr 30, 2018 4:15 pm
by olajep
I presume you're talking about GCC for arm?
1. update most recent vivid packages
Follow instructions in this post:
viewtopic.php?f=48&t=4278#p19957- Code: Select all
sudo update
sudo upgrade
sudo dist-upgrade
2 a) Either add this ppa to your system
https://launchpad.net/~ubuntu-toolchain ... ubuntu/ppa2 b) Or try upgrading to a newer ubuntu release:
https://help.ubuntu.com/lts/serverguide ... ading.html// Ola