public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Richard Fish <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ	stepping 08
Date: Sun, 23 Oct 2005 00:11:02 -0700	[thread overview]
Message-ID: <435B3786.6090906@asmallpond.org> (raw)
In-Reply-To: <1129995092.12311.1.camel@localhost>

Richard Watson wrote:

>I've just got a new laptop I'm installing Gentoo on and was wondering if
>anyone could advise on the CFLAG setting I'm using. The CPU is a
>Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
>CFLAGS="-02 -mcpu=pentium -pipe"
>  
>

With a 2.13Ghz pentium-m, I am using:
CFLAGS="-march=pentium-m -Os -fomit-frame-pointer -pipe"

I recommend using either -Os or -O3 with the pentium-m.  In my 
experience, -Os and -O3 provide slightly better overall performance than 
-O2, although I should mention a few things will probably run slower.  
As far as mmx, sse, and the like, I'd say enable those through USE flags 
for those packages that support them.

Also, be sure you are using the latest version (3.4.4) of gcc by running 
"gcc-config -l".

-Richard

-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2005-10-24  9:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-22 15:31 [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08 Richard Watson
2005-10-23  3:18 ` Peter Gordon
2005-10-23  3:27 ` Willie Wong
2005-10-24 12:35   ` 赵光
2005-10-23  6:12 ` Renat Golubchyk
2005-10-23  7:11 ` Richard Fish [this message]
2005-10-23 11:26 ` [gentoo-user] " Jochen Schalanda
2005-10-23 17:26 ` [gentoo-user] " Bill Roberts
2005-10-24  8:00   ` Octavio Ruiz (Ta^3)
2005-10-24 12:09   ` Qian Qiao
2005-10-24 16:26   ` Rafael Fernández López
2005-10-23 20:02 ` Sascha Lucas
2005-10-24  2:35 ` Walter Dnes

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=435B3786.6090906@asmallpond.org \
    --to=bigfish@asmallpond.org \
    --cc=gentoo-user@lists.gentoo.org \
    /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