Updating gcc versions

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

Updating gcc versions

Postby slackmoehrle » Sun Apr 29, 2018 9:53 pm

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.
slackmoehrle
 
Posts: 5
Joined: Mon Apr 16, 2018 10:04 pm

Re: Updating gcc versions

Postby olajep » Mon Apr 30, 2018 4:15 pm

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
_start = 266470723;
olajep
 
Posts: 136
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden

Re: Updating gcc versions

Postby slackmoehrle » Thu May 10, 2018 4:03 am

Thanks, I will try.
slackmoehrle
 
Posts: 5
Joined: Mon Apr 16, 2018 10:04 pm


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 9 guests

cron