From owner-freebsd-questions@FreeBSD.ORG Fri Jun 9 20:56:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 CE5EB16A41A for ; Fri, 9 Jun 2006 20:56:06 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 251C943D79 for ; Fri, 9 Jun 2006 20:56:04 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by nz-out-0102.google.com with SMTP id m7so294887nzf for ; Fri, 09 Jun 2006 13:56:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Tqm3fkNpZUQtAxe6xjvxXhqYbgO39cRjuh4dD4til1L+3CMJOdBFurZYhJ1DHNa7CGmaky2EeJOZ07k+bOWiwMf6XiVAcSKntu1X+FMNQnj6KNYP4KvXJ1l1XPcuTASEDY8Na8x+2Hq2GYB4doP3vcxiKzKK82fs4iyyAQ6/zYE= Received: by 10.36.251.6 with SMTP id y6mr497127nzh; Fri, 09 Jun 2006 13:56:04 -0700 (PDT) Received: by 10.36.104.17 with HTTP; Fri, 9 Jun 2006 13:56:04 -0700 (PDT) Message-ID: Date: Fri, 9 Jun 2006 15:56:04 -0500 From: "Nikolas Britton" To: freebsd-questions@freebsd.org In-Reply-To: <20060609132040.B3097B825@shodan.nognu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060609132040.B3097B825@shodan.nognu.de> Subject: Re: Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 20:56:06 -0000 On 6/9/06, Frank Steinborn wrote: > Hello, > > can someone tell what the right choice for CPUTYPE in /etc/make.conf > is for that CPU? > CPUTYPE?=pentium2 CFLAGS+= -mtune=prescott COPTFLAGS+= -mtune=prescott I find that this produces faster, and safer, code then -march=pentium4, etc. alone. you can view all the gcc flags here: http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/i386-and-x86_002d64-Options.html > And, is it safe to build kernel and world with --march= too? > With the gcc options I gave to you above yes. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/