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 1ETyCP-0003cg-NQ for garchives@archives.gentoo.org; Mon, 24 Oct 2005 09:00:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9O8hgP1001220; Mon, 24 Oct 2005 08:43:42 GMT Received: from smtp105.mail.sc5.yahoo.com (smtp105.mail.sc5.yahoo.com [66.163.169.225]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9O87HT2009796 for ; Mon, 24 Oct 2005 08:07:18 GMT Received: (qmail 53815 invoked from network); 23 Oct 2005 07:10:30 -0000 Received: from unknown (HELO ?192.168.2.101?) (richard?j?fish@68.230.97.177 with plain) by smtp105.mail.sc5.yahoo.com with SMTP; 23 Oct 2005 07:10:30 -0000 Message-ID: <435B3786.6090906@asmallpond.org> Date: Sun, 23 Oct 2005 00:11:02 -0700 From: Richard Fish User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051007) X-Accept-Language: en-us, en 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08 References: <1129995092.12311.1.camel@localhost> In-Reply-To: <1129995092.12311.1.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: d0b45173-ff6d-451b-a4d5-9a074b59f748 X-Archives-Hash: 4147b03c6d0520704976697bd292785d 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