Gentoo Archives: gentoo-user

From: Jean Magnan de Bornier <jean@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] freeglut
Date: Mon, 03 Jul 2006 05:04:03
Message-Id: 877j2v709n.fsf@bornier.net
In Reply to: Re: [gentoo-user] freeglut by Richard Fish
1 Le 02 juillet à 21:46:08 "Richard Fish" <bigfish@××××××××××.org> écrit notamment:
2
3 | On 7/2/06, Jean Magnan de Bornier <jean@×××××××.net> wrote:
4 | > Le 02 juillet à 03:39:40 "Richard Fish" <bigfish@××××××××××.org> écrit notamment:
5 | > | Does your CFLAGS have -mfpmath=sse? If so, take that out.
6 | >
7 | > Done, it worked; any side-effects to fear?
8 >
9 | It should work fine, but I still suspect your -march setting is not
10 | optimal. What kind of processor are you using?
11
12 [...]
13
14 Yes, you guessed right again: it is a Dell latitude x1, and I followed the
15 howto of the gentoo-wiki, which says:
16
17 .....................................
18 If you use GCC <3.4.3, there is no pentium-m arch, you need to use
19 pentium3. Using GCC 3.4.3 or later, you might want to try
20 -march=pentium-m. Those CFLAGS are known to be safe:
21
22 CFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse"
23 CXXFLAGS="${CFLAGS}"
24 .....................................
25
26 But I had forgotten to make the change when switching to gcc-3.4. Now I
27 did it...
28 Thanks,
29 --
30 Jean Magnan de Bornier | Cours Victor Hugo
31 e-mots: jean at bornier.net | 13980 Alleins France
32 T 08 70 39 34 03 | P 06 09 17 35 87
33
34 --
35 gentoo-user@g.o mailing list