Gentoo Archives: gentoo-user

From: Ricardo Saffi Marques <saffi@××××××××××××××.br>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] switching CPU's -- what strange things do I need?
Date: Fri, 25 Jan 2008 17:50:55
Message-Id: 3b5772b30801250950i50ce4c5bw1d9f5b7f3b688a90@mail.gmail.com
In Reply to: Re: [gentoo-user] switching CPU's -- what strange things do I need? by John covici
1 I really don't know. I mean, I particularly always stick to Gentoo Safe
2 Cflags, but I know people that use a 32-bit profile and use -march=nocona.
3 Let's see what other ppl have to say.
4
5 On 1/25/08, John covici <covici@××××××××××.com> wrote:
6 >
7 > on Friday 01/25/2008 Andrey Falko(ma3oxuct@×××××.com) wrote
8 > > On Jan 25, 2008 10:00 AM, John covici <covici@××××××××××.com> wrote:
9 > >
10 > > > Hi folks. I right now have my CCFLAGS set to CFLAGS="-O2
11 > > > -mtune=athlon-xp -pipe" -- now I am getting one of those new Intel
12 > > > e8400 CPU's and so I have two questions.
13 > > >
14 > > > What should I change my CCFLAGS to -- and do I have to recompile the
15 > > > whole system after this is done or what?
16 > >
17 > >
18 > > I've done this before. I moved from an old Intel 3.06 Ghz to a new
19 > Athlon64
20 > > 4600+. I did *not* change flags before the move from system to system.
21 > After
22 > > the move, however, I changed my -march flag (in your case -mtune,
23 > which is
24 > > equivalent) and recompiled everything to have the change take effect.
25 > >
26 > > In your case, move the system from machine to machine, then change your
27 > > -mtune to: -mtune=nocona (see
28 > >
29 > http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options
30 > )
31 > > . When you are done with that recompile everything: emerge -e world
32 > >
33 > Thanks all -- I have a 32-bit profile, so I guess I will not be able
34 > to use ncona -- is this correct?
35 >
36 >
37 > --
38 > Your life is like a penny. You're going to lose it. The question is:
39 > How do
40 > you spend it?
41 >
42 > John Covici
43 > covici@××××××××××.com
44 > --
45 > gentoo-user@l.g.o mailing list
46 >
47 >
48
49
50 --
51 Ricardo Saffi Marques
52 Laboratório de Administração e Segurança de Sistemas (LAS/IC)
53 Universidade Estadual de Campinas (UNICAMP)
54 Cell: +55 (19) 8128-0435
55 Skype: ricardo_saffi_marques
56 Website: http://www.rsaffi.com