Gentoo Archives: gentoo-user

From: Kenneth Prugh <ken69267@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gcc 4.2 and Core 2 Duo
Date: Fri, 20 Jul 2007 19:27:11
Message-Id: 46A10985.6080401@gmail.com
In Reply to: Re: [gentoo-user] gcc 4.2 and Core 2 Duo by Andrew Gaydenko
1 Andrew Gaydenko wrote:
2 >>> The question is: must I replace '-march=nocona' with '-mtune=native and -march=native'?
3 >> I have a Core2 Duo E6600 and use these CFLAGS with GCC 4.2:
4 >>
5 >> CFLAGS="-Os -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx
6 >> -msse2 -msse3"
7 >>
8 >> Native works fine here.
9 >
10 > Kenneth, thanks! I'll try your flags-string. I hope, there aren't any
11 > resons to rebuld anything else after switching form 4.1.2 with curennt
12 > flags to 4.2.0 with youe flags. Is it true?
13
14 Personally I rebuilt everything on my system because I wanted everything
15 to be compiled under my shiny new toolchain. I accomplished it via this:
16
17 # emerge -eav system
18 # emerge -eav world
19
20 However, I don't believe you _have_ to rebuild. GCC 4.1 and 4.2 should
21 be binary compatible. I know that my GCC 4.1 LibTorrent works fine with
22 a GCC 4.2 built rtorrent, so I would like to say it should work fine.
23
24 --
25 Kenneth Prugh - Ken69267
26 Gentoo AMD64 Arch Tester

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] gcc 4.2 and Core 2 Duo Dale <dalek1967@×××××××××.net>