From: Chris PeBenito <pebenito@gentoo.org>
To: Mark Gordon <mark.gt@flash-gordon.me.uk>
Cc: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] auto selection of optimal gcc architecture settings
Date: 28 Apr 2003 11:46:11 -0500 [thread overview]
Message-ID: <1051548371.1692.16.camel@chris.pebenito.net> (raw)
In-Reply-To: <20030428143032.653b2421.mark.gt@flash-gordon.me.uk>
[-- Attachment #1: Type: text/plain, Size: 1478 bytes --]
On Mon, 2003-04-28 at 08:30, Mark Gordon wrote:
[cut]
> > >>I've been testing http://www.pixelbeat.org/scripts/gcccpuopt
> > >>over the last while with good results. Essentially it's
> > >>a Linux specific script that only helps on x86 at present
> > >>but can be updated to other architectures easily.
[cut]
> > >>It would be beneficial IMHO for gentoo to run it at
> > >>installation time and update /etc/make.conf appropriately?
[cut]
> It needs extending even for the x86 compatible world.
>
> markg@brenda markg $ ./gcccpuopt
> -march=pentium2 -mmmx
[cut]
I think this would probably be more useful if it dumped out the CHOST
line in addition to the optimizations. This would help with people that
have the more uncommon processors to set the correct CHOST. I seen more
than a few times K6* users have had CHOST="i686-pc-linux-gnu", when it
should be i586-pc-linux-gnu.
so it'd print this for a K6-2:
$ ./gcccpuopt
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6-2"
So it could easily be pasted into make.conf. (-mmmx is redundant)
--
Chris PeBenito
<pebenito@gentoo.org>
Developer, Gentoo Linux
Hardened Gentoo Project
"Engineering does not require science. Science helps
a lot, but people built perfectly good brick walls
long before they knew why cement works."-Alan Cox
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243
Key fingerprint = B0E6 877A 883F A57A 8E6A CB00 BC8E E42D E6AF 9243
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-04-28 16:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3EA94CD1.9070304@corvil.com>
[not found] ` <200304262328.54371.phoenix@webone.com.au>
2003-04-28 9:18 ` [gentoo-dev] auto selection of optimal gcc architecture settings Padraig Brady
2003-04-28 13:30 ` Mark Gordon
2003-04-28 13:38 ` Paul de Vrieze
2003-04-28 13:41 ` Padraig Brady
2003-04-28 13:40 ` Padraig Brady
2003-04-28 14:05 ` Mark Gordon
2003-04-28 16:46 ` Chris PeBenito [this message]
2003-04-29 9:35 ` Padraig Brady
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1051548371.1692.16.camel@chris.pebenito.net \
--to=pebenito@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=mark.gt@flash-gordon.me.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox