On Jan 25, 2008 12:44 PM, John covici <[EMAIL PROTECTED]> wrote: > on Friday 01/25/2008 Andrey Falko([EMAIL PROTECTED]) wrote > > On Jan 25, 2008 10:00 AM, John covici <[EMAIL PROTECTED]> wrote: > > > > > Hi folks. I right now have my CCFLAGS set to CFLAGS="-O2 > > > -mtune=athlon-xp -pipe" -- now I am getting one of those new Intel > > > e8400 CPU's and so I have two questions. > > > > > > What should I change my CCFLAGS to -- and do I have to recompile the > > > whole system after this is done or what? > > > > > > I've done this before. I moved from an old Intel 3.06 Ghz to a new > Athlon64 > > 4600+. I did *not* change flags before the move from system to system. > After > > the move, however, I changed my -march flag (in your case -mtune, > which is > > equivalent) and recompiled everything to have the change take effect. > > > > In your case, move the system from machine to machine, then change your > > -mtune to: -mtune=nocona (see > > > http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options > ) > > . When you are done with that recompile everything: emerge -e world > > > Thanks all -- I have a 32-bit profile, so I guess I will not be able > to use ncona -- is this correct? > > No. nocona will not generate 64-bit code with a 32-bit profile. nocona is more "native" to your cpu, but I am sure that you won't get much of a boost using it over prescott.
> > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > [EMAIL PROTECTED] > -- > gentoo-user@lists.gentoo.org mailing list > >