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

GCC update


Renich

Question

5 answers to this question

Recommended Posts

  • 0

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 :)

Link to comment
Share on other sites

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...