Page 1 of 1

Updating gcc versions

PostPosted: 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

PostPosted: 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/ppa

2 b) Or try upgrading to a newer ubuntu release:
https://help.ubuntu.com/lts/serverguide ... ading.html


// Ola

Re: Updating gcc versions

PostPosted: Thu May 10, 2018 4:03 am
by slackmoehrle
Thanks, I will try.