Gentoo Archives: gentoo-user

From: David W Noon <dwnoon@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CFLAGS for Pentium Dual Core E2160 ?
Date: Sat, 10 Nov 2007 14:25:01
Message-Id: 20071110141846.360768804E@memphis.local
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Saturday 10 Nov 2007 09:30 in article <9nUPo-y3-7@×××××××××××××.it>
5 of linux.gentoo.user, Stefan G. Weichinger(lists@×××××.at) wrote:
6
7 > David W Noon schrieb:
8 >
9 >> You need to consider CHOST as well, to ensure you make the most of
10 >> the newer CPUs.
11 >>
12 >> Here is what I use on an E6600 machine:
13 >>
14 >> CHOST="x86_64-pc-linux-gnu"
15 >> CFLAGS="-march=nocona -mmmx -m3dnow -msse -msse2 -msse3
16 >> -mfpmath=sse,387 -O2 -pipe"
17 [snip]
18 > Phew, this scares me ;)
19 >
20 > I use
21 > CHOST="i686-pc-linux-gnu"
22 >
23 > now, and don't want to go 64bit anyway (at least not in the near
24 > future), so I think will just edit the CFLAGS for a start and
25 > re-emerge system, then world?
26
27 I don't understand why one would want to run a 64-bit CPU in 32-bit
28 mode.
29
30 If you change the CHOST, CFLAGS and CXXFLAGS variables, then do:
31 emerge -e system
32 emerge -e world
33 you will have converted everything except your kernel to 64-bit. This
34 was what you were planning anyway, but the change of CHOST as well will
35 give you a 64-bit toolchain. The only problems will be packages that
36 are stable on x86 but still unstable on amd64 or causing similar
37 problems during rebuild. But these can be skipped by doing:
38 emerge --resume --skipfirst
39
40 A quick rebuild of the kernel and your system will be wall-to-wall
41 64-bit and running at maximum speed.
42
43 I don't see it as a major task, other than waiting for the re-emerge of
44 world to complete, which could take a couple of days.
45 - - --
46 Regards
47
48 Dave [RLU#314465]
49 ======================================================
50 dwnoon@××××××××.com (David W Noon)
51 ======================================================
52
53 -----BEGIN PGP SIGNATURE-----
54 Version: GnuPG v1.4.7 (GNU/Linux)
55
56 iD8DBQFHNb3G9MqaUJQw2MkRAslaAJ9CFAg4waeBPcGIK9tr1HAMVenuRACgpzG/
57 bFQFgn0ON9FcA8AywEqpoMg=
58 =j25L
59 -----END PGP SIGNATURE-----
60
61 --
62 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] CFLAGS for Pentium Dual Core E2160 ? Dirk Heinrichs <dirk.heinrichs@××××××.de>
Re: [gentoo-user] CFLAGS for Pentium Dual Core E2160 ? "Bo Ørsted Andresen" <bo.andresen@××××.dk>
Re: [gentoo-user] CFLAGS for Pentium Dual Core E2160 ? Qian Qiao <qian.qiao@×××××.com>