View previous topic :: View next topic |
Author |
Message |
otakugeek n00b


Joined: 26 Jun 2014 Posts: 50
|
Posted: Fri Mar 03, 2017 8:13 pm Post subject: GCC upgrade 4 to 5 |
|
|
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
choose the new version
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 |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55179 Location: 56N 3W
|
Posted: Fri Mar 03, 2017 8:25 pm Post subject: |
|
|
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 |
|
 |
otakugeek n00b


Joined: 26 Jun 2014 Posts: 50
|
Posted: Fri Mar 03, 2017 8:42 pm Post subject: |
|
|
thank you |
|
Back to top |
|
 |
|