Gentoo Archives: gentoo-dev

From: Thomas Beaudry <k8la@××××.net>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] make.conf optimization flags for k6, athlon
Date: Sat, 14 Jul 2001 18:55:32
Message-Id: 20010715.543000@localhost.localdomain
In Reply to: [gentoo-dev] make.conf optimization flags for k6, athlon by Dan Armak
1 A few comments I've been meaning to make.
2
3 1. According to the GCC documentation you shouldn't be using -m<processor>
4 any more. It's been depreciated in favor of -mcpu<processor>.
5
6 2. You don't need to use -mcpu usually with -march as -march sets -mcpu
7 for you. I say usually 'cause there's an AMD processor (can't remember
8 which) that uses a different instruction set than the default set by the
9 -march it uses.
10
11 3. The usage of processor names has been depreciated as well. Should
12 use i586, etc. instead.
13
14 >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
15
16
17 > # For Pentium and k6/2 machines
18 > # -----------------------------
19
20 > #CHOST="i586-pc-linux-gnu"
21 > #CFLAGS="-mpentium -march=pentium -O3 -pipe"
22 > #CXXFLAGS="-mpentium -march=pentium -O3 -pipe"

Replies

Subject Author
Re: [gentoo-dev] make.conf optimization flags for k6, athlon Dan Armak <ermak@×××××××××××××.il>