View previous topic :: View next topic |
Author |
Message |
kbzium Tux's lil' helper
Joined: 31 Jul 2012 Posts: 146
|
Posted: Mon Oct 15, 2012 1:54 pm Post subject: GCC 4.6? march=corei7avx? |
|
|
Hello,
Currently I'm using gcc 4.5.4 which doesn't allow me to use some features of i7 sandy bridge (i must set -march=core2... in make.conf). How to migrate to the newest stable version supporting that flag? Is it safe? Should I upgrade something else too?
I tried to emerge -s gcc but it gives no results. |
|
Back to top |
|
|
nihil39 Tux's lil' helper
Joined: 15 Nov 2005 Posts: 97 Location: Italy
|
Posted: Mon Oct 15, 2012 5:23 pm Post subject: |
|
|
Hi,
first thing first read this.
You will have to unmask an upgraded version of gcc by putting a line like this
Code: | =sys-devel/gcc-4.6.3* |
in /etc/portage/package.accept_keywords
I don't know which version you need (I've a core i3 2310M and i'm using gcc-4.6.3), but, as far as I know, using gives (almost) the best optimization for the machine you're using.
There was an annoying bug with grub-0.x and gcc 4.6.3 but it should have been fixed in the r12 release. |
|
Back to top |
|
|
|