Gentoo Archives: gentoo-user

From: Hinnerk van Bruinehsen <h.v.bruinehsen@×××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] AMD Bulldozer cflags ?
Date: Fri, 27 Jan 2012 12:36:20
Message-Id: 4F2299DA.9080307@fu-berlin.de
In Reply to: [gentoo-user] AMD Bulldozer cflags ? by Amar Cosic
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 27.01.2012 13:08, Amar Cosic wrote:
5 > Hello list
6 >
7 > anyone running above mentioned CPU? I have couple KVM based virtual
8 > servers that run Bulldozer in host machines and I would like to run
9 > Gentoo on it.
10 >
11 > Couple months ago I tried this
12 > http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD#AMD_FX-8xxx.2F6xxx.2F4xxx_.28Bulldozer.29
13 >
14 >
15 and
16 > compiling failed ( I cant remember what it was actual error..) so I
17 > am guessing I need something else.
18 >
19 >
20 > ty.
21 >
22
23 Afaik you just have to use -march=native and it uses all flags
24 supported by your gcc-version and cpu, that are "safe" and default.
25
26 You can simply add the CFLAGS for e.g. graphite to that.
27 -----BEGIN PGP SIGNATURE-----
28 Version: GnuPG v2.0.18 (GNU/Linux)
29 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
30
31 iQEcBAEBAgAGBQJPIpnaAAoJEJwwOFaNFkYc36QH/ApeKDlZ3D4JTzPpFg4wS29L
32 9q3wBxxnOcNDLg67qMmSU15l49fU3bcxfKnVFyLEROEtHg6u1zAqlwh7d+xofYnl
33 jxesegIU/S1AyhNoG0VLfR1jyZ37tivjtx8OWBw5UOyNgB3fV6Aw4g8DLzPpFU4u
34 H7vxB7aw4Wblcii+w+kwE2Er8hhKhPbVbqUJRB/aDYt4zINzPcobYR67RYO2bvD3
35 IC9ej32cMqx3sSKx9eclAcgIFfrok6smfKOxFTQZzXCxTMPd5eXMbceirWYf0OZN
36 onOA1BgAmy06c5RWPXVYBW3yIzzacyubwE18ZH6ZyJ1B3evovpArKoIMfoCDFJM=
37 =/RwR
38 -----END PGP SIGNATURE-----