Renich Posted May 2, 2015 Report Share Posted May 2, 2015 Hello, What is the correct way of updating gcc to 4.9.2? It is asking for an unmask but I doubt it is the correct way of doing things. Link to comment Share on other sites More sharing options...
0 jorgicio Posted May 17, 2015 Report Share Posted May 17, 2015 GCC is now updated, so unmask is not needed anymore. Renich 1 Link to comment Share on other sites More sharing options...
0 Sandro Posted May 3, 2015 Report Share Posted May 3, 2015 There are more than one level of masking software. If You use the curren version (that use "amd64" and "~amd64" you must simply unmask with # echo "=sys-devel/gcc-4.9.2" >> /etc/portage/package.unmask If You use the "stable branch" you 'll must unmask also in the file for low level masking keywords: # echo "=sys-devel/gcc-4.9.2 ~amd64" >> /etc/portage/package.accept_keywords Then start # emerge -DNu1 world gcc ________________________ There are other ways , e.g. # emerge "=sys-devel/gcc-4.9.2" --autounmask-write Then use etc-update or dispatch-conf ________________________________________ The last operation is to vrify what version of GCC will use the system: gcc-config -l Automatically must be updated to the new version...... otherwise, gcc-config -f X (where X is the number relative at the gcc version that you want to use). The ultimate command is to make an # . /etc/profile So You will use the new version of the compiler :P When you'll make an # emerge -c (-c = --deepclean) After an emerge -DNu world --with-bdeps=y The previous version will be removed from your system. Hello :) adessemond 1 Link to comment Share on other sites More sharing options...
0 jorgicio Posted May 6, 2015 Report Share Posted May 6, 2015 You don't need to do the emerge @world if you don't want it. After you unmasked and upgraded gcc (and switched to the newer version), just do: emerge -1 libtool And you're done. Link to comment Share on other sites More sharing options...
0 Renich Posted May 6, 2015 Author Report Share Posted May 6, 2015 Thanks a lot, guys! Link to comment Share on other sites More sharing options...
0 Sandro Posted May 6, 2015 Report Share Posted May 6, 2015 My though to use emerge -DNu world is for have an idea about the "consistence" of the system eventually #revdep-rebuild excuse me this is a litle off topic....... Link to comment Share on other sites More sharing options...
Question
Renich
Hello,
What is the correct way of updating gcc to 4.9.2?
It is asking for an unmask but I doubt it is the correct way of doing things.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts