Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to use gcc 4.7.2?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
melon1234
n00b
n00b


Joined: 07 May 2013
Posts: 6

PostPosted: Fri May 10, 2013 3:13 am    Post subject: How to use gcc 4.7.2? Reply with quote

Hi, all,

I see the default version of gcc is 4.6.3, and there is gcc 4.7.2 for kernel but masked. Can I simply unmask it then emerge? Will gcc 4.7.2 overwrite default gcc? Is there any side-effect? Thank you in advance.

FYI: my gentoo profile is x64-nomultilib, with X and gnome.

--
ShenLei
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Fri May 10, 2013 4:09 am    Post subject: Reply with quote

I believe you can install about as many gcc's as you want, and use gcc-config to switch between them.

If it's straight up masked and not just keyworded for ~arch you might want to be careful because there's probably a good reason.

If adding it to package.keywords lets it install, might as well try it out.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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