From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1ETx28-0000h5-IG for garchives@archives.gentoo.org; Mon, 24 Oct 2005 07:46:18 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9O7dCLI002260; Mon, 24 Oct 2005 07:39:12 GMT Received: from server.e3-kracken.com (server.e3-kracken.com [69.93.42.66]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9O7JGgF028621 for ; Mon, 24 Oct 2005 07:19:16 GMT Received: from adsl-68-124-62-179.dsl.irvnca.pacbell.net ([68.124.62.179] helo=deep-thought) by server.e3-kracken.com with esmtpa (Exim 4.52 (FreeBSD)) id 1ETWP2-000IyI-SM for gentoo-user@lists.gentoo.org; Sat, 22 Oct 2005 22:20:09 -0500 Subject: Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08 From: Peter Gordon To: gentoo-user@lists.gentoo.org In-Reply-To: <1129995092.12311.1.camel@localhost> References: <1129995092.12311.1.camel@localhost> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-sY2T//0TUuw3Myf94UYf" Date: Sat, 22 Oct 2005 20:18:45 -0700 Message-Id: <1130037525.12539.3.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.e3-kracken.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - ramshacklestudios.com X-Source: /usr/local/bin/perl5.8.2 X-Source-Args: /usr/local/bin/perl /usr/sbin/sendmail -bd -q30m X-Source-Dir: /root X-Archives-Salt: ea9d279c-65d0-4063-aa97-0383bfc1bed9 X-Archives-Hash: dcf2e07a5d330e933765604c756bba5e --=-sY2T//0TUuw3Myf94UYf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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=3D"-02 -mcpu=3Dpentium -pipe" If you're using the the GCC from stable ("x86") portage (GCC 3.3), then you should probably use something like: CFLAGS=3D"-O2 -march=3Dpentium3 -msse2 -pipe" GCC 3.4 (marked unstable, "~x86") makes it a little simple by adding a Pentium-M specific architecture type: CFLAGS=3D"-O2 -march=3Dpentium-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 --=-sY2T//0TUuw3Myf94UYf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDWwEVJ4x0zIfFkCYRAiDZAKCUc9rTKiMLIiQHekThXEIXtEetPACfYqBU zW/yo7y15OD7/btbciPDclo= =HhuV -----END PGP SIGNATURE----- --=-sY2T//0TUuw3Myf94UYf-- -- gentoo-user@gentoo.org mailing list