Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

gcc upgrade


AdiosKid

Question

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

emerge -u sys-devel/gcc

show the versions

gcc-config -l

choose the new version

gcc-config 2

reinstall libtool 

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

remove the old version

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 

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

or I need recompile the whole system three ? 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...