public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Gordon <admin@ramshacklestudios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08
Date: Sat, 22 Oct 2005 20:18:45 -0700	[thread overview]
Message-ID: <1130037525.12539.3.camel@localhost> (raw)
In-Reply-To: <1129995092.12311.1.camel@localhost>

[-- Attachment #1: Type: text/plain, Size: 976 bytes --]

On Sun, 2005-10-23 at 01:31 +1000, 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"

If you're using the the GCC from stable ("x86") portage (GCC 3.3), then
you should probably use something like:

CFLAGS="-O2 -march=pentium3 -msse2 -pipe"

GCC 3.4 (marked unstable, "~x86") makes it a little simple by adding
a Pentium-M specific architecture type:

CFLAGS="-O2 -march=pentium-m -pipe"

Although, on a laptop you might want to use "-Os" (size optimization)
in place of "-O2", as the disk is a lot slower than desktop machines
and you will probably have longer startup times for programs. I'm not
too sure on that last part, a I don't have a laptop, though. Anyone
else want to take a stab at that? :)

Hope that helps.
--Peter

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-10-24  7:46 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 [this message]
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
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=1130037525.12539.3.camel@localhost \
    --to=admin@ramshacklestudios.com \
    --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