From owner-freebsd-questions@FreeBSD.ORG Mon Apr 11 12:05:25 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F6B116A4D0 for ; Mon, 11 Apr 2005 12:05:24 +0000 (GMT) Received: from discordia.pl (discordia.pl [212.160.154.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20E0D43D55 for ; Mon, 11 Apr 2005 12:05:14 +0000 (GMT) (envelope-from toread@discordia.pl) Received: from localhost (localhost.discordia.pl [127.0.0.1]) by discordia.pl (Postfix) with ESMTP id 46C4A20B406 for ; Mon, 11 Apr 2005 14:05:13 +0200 (CEST) Received: from discordia.pl ([127.0.0.1]) by localhost (discordia.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 75589-04 for ; Mon, 11 Apr 2005 14:05:00 +0200 (CEST) Received: by discordia.pl (Postfix, from userid 1001) id 2EB1820B41B; Mon, 11 Apr 2005 14:05:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by discordia.pl (Postfix) with ESMTP id 27F2420B406 for ; Mon, 11 Apr 2005 14:05:00 +0200 (CEST) Date: Mon, 11 Apr 2005 14:05:00 +0200 (CEST) From: Piotr Gnyp In-Reply-To: <20050411093328.GA18884@xor.obsecurity.org> Message-ID: <20050411140326.V75661@discordia.pl> References: <20050411111418.J998@discordia.pl> <20050411093328.GA18884@xor.obsecurity.org> X-PGP-Key: http://discordia.pl/~toread/pub.txt Organization: The Golden Apple Corp MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at discordia.pl cc: questions@freebsd.org Subject: Re: make.conf question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 12:05:25 -0000 On Mon, 11 Apr 2005, Kris Kennaway wrote: > The version of gcc that comes with FreeBSD 4.x can't do better than > this, i.e. it doesn't know about optimizations for newer CPUs. In > practise this isn't important. Ok, so why this: # The CPUTYPE variable controls which processor should be targeted for # generated code. This controls processor-specific optimizations in # certain code (currently only OpenSSL) as well as modifying the value # of CFLAGS to contain the appropriate optimization directive to gcc. # The automatic setting of CFLAGS may be overridden using the # NO_CPU_CFLAGS variable below. # Currently the following CPU types are recognized: # Intel x86 architecture: # (AMD CPUs) k7 k6-2 k6 k5 # (Intel CPUs) p4 p3 p2 i686 i586/mmx i586 i486 i386 # Alpha/AXP architecture: ev6 pca56 ev56 ev5 ev45 ev4 # # If you experience any problems after setting this flag, please unset # it again before submitting a bug report or attempting to modify code. # It may be that certain types of software will become unstable after being # compiled with processor-specific (or higher - see below) optimization flags. # If in doubt, do not set CPUTYPE or CFLAGS to non-default values. # #CPUTYPE=i686 is in /etc/defaults/make.conf in 4.x? -- "How fortunate the man with none." --Dead Can Dance