Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC upgrade 4 to 5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
otakugeek
n00b
n00b


Joined: 26 Jun 2014
Posts: 50

PostPosted: Fri Mar 03, 2017 8:13 pm    Post subject: GCC upgrade 4 to 5 Reply with quote

hi folks,

I'm in new installation and I'm follow that guide about upgrade gcc : https://wiki.gentoo.org/wiki/Upgrading_GCC

the commands :


Install new version of compiler

Code:
emerge -u sys-devel/gcc


show the versions

Code:
gcc-config -l


choose the new version

Code:
gcc-config 2


reinstall libtool

Code:
emerge --ask --oneshot sys-devel/libtool


remove the old version

Code:
emerge --ask --depclean =sys-devel/gcc-4.9.3


until here all fine and perfect, but my doubt is about recompile the toolchain, I need just recompile the depedencies with

Code:
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc


or I need recompile the whole system three ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43213
Location: 56N 3W

PostPosted: Fri Mar 03, 2017 8:25 pm    Post subject: Reply with quote

otakugeek,

You only need to rebuild C++ code, which is what
Code:
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc

You can rebuild everything but its overkill.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
otakugeek
n00b
n00b


Joined: 26 Jun 2014
Posts: 50

PostPosted: Fri Mar 03, 2017 8:42 pm    Post subject: Reply with quote

thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum