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 1ETzm6-0007u0-7E for garchives@archives.gentoo.org; Mon, 24 Oct 2005 10:41:54 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9O8OnrM026071; Mon, 24 Oct 2005 08:24:49 GMT Received: from medousa.rus.uni-stuttgart.de (medousa.rus.uni-stuttgart.de [129.69.2.58]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9O7pQqW015925 for ; Mon, 24 Oct 2005 07:51:26 GMT Received: from localhost (localhost [127.0.0.1]) by medousa.rus.uni-stuttgart.de (Postfix) with ESMTP id C30DB203752 for ; Sun, 23 Oct 2005 22:02:05 +0200 (CEST) Received: from medousa.rus.uni-stuttgart.de ([127.0.0.1]) by localhost (medousa [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27423-01-88 for ; Sun, 23 Oct 2005 22:02:01 +0200 (CEST) Received: from uni-stuttgart.de (mbox.rus.uni-stuttgart.de [129.69.1.9]) by medousa.rus.uni-stuttgart.de (Postfix) with ESMTP id D66D5203743 for ; Sun, 23 Oct 2005 22:02:01 +0200 (CEST) X-Virus-Scanned: by mbox.uni-stuttgart.de Received: from [129.69.11.67] (account ruslucas@po2.uni-stuttgart.de HELO gentoo.rus.uni-stuttgart.de) by uni-stuttgart.de (CommuniGate Pro SMTP 4.2.8) with ESMTP-TLS id 28456512 for gentoo-user@lists.gentoo.org; Sun, 23 Oct 2005 22:02:01 +0200 Date: Sun, 23 Oct 2005 22:02:00 +0200 (CEST) From: Sascha Lucas To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08 In-Reply-To: <1129995092.12311.1.camel@localhost> Message-ID: References: <1129995092.12311.1.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 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at medousa.rus.uni-stuttgart.de X-Spam-Status: No, hits=-4.399 tagged_above=-999 required=5 tests=ALL_TRUSTED, BAYES_00 X-Spam-Level: X-Archives-Salt: a1103b8a-acaf-472c-94e3-c9ec9e37fa8b X-Archives-Hash: 271b017e50117cd60441e79bdd768277 Hi Richard, > 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" You may look at http://gentoo-wiki.com/Safe_Cflags#Pentium-M_.2F_Centrino_.28Intel.29 If you use x86 (not ~x86) then you have a gcc < 3.4.3. The page above proposes to use: CFLAGS="-O2 -march=pentium3 -pipe". A friend of mine with a Pentium M uses CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer", which is dangerous if you believe the wiki-page. If you plan to use gentoo on many x86 systems with different CPU's and you want to share binarys. I recommend to use: CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" (runs on any Intel/AMD/... starting from Pentium2-class CPU). Sascha. -- gentoo-user@gentoo.org mailing list