From owner-freebsd-questions Sat Jan 26 17:50:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 12DCE37B400 for ; Sat, 26 Jan 2002 17:50:48 -0800 (PST) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 22C505D0B; Sat, 26 Jan 2002 17:50:48 -0800 (PST) To: Edwin Groothuis Cc: "F . Xavier Noria" , freebsd-questions@freebsd.org Subject: Re: customizing CPUTYPE In-reply-to: Your message of "Sun, 27 Jan 2002 11:02:33 +1100." <20020127110233.Q823@k7.mavetju.org> Date: Sat, 26 Jan 2002 17:50:48 -0800 From: "Kevin Oberman" Message-Id: <20020127015048.22C505D0B@ptavv.es.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Sun, 27 Jan 2002 11:02:33 +1100 > From: Edwin Groothuis > Sender: owner-freebsd-questions@FreeBSD.ORG > > On Sat, Jan 26, 2002 at 11:22:56PM +0100, F . Xavier Noria wrote: > > I have an AMD Athlon XP 1700, do you know whether there is a suitable > > value for CPUTYPE to customize make.conf? > > When you boot your kernel, it will tell you what kind of CPU you have: > > Dec 24 07:18:48 k7 /kernel: CPU: AMD Athlon(tm) Processor (1029.99-MHz 686-class > CPU) > > So for me it would be 686. The CPU type in the boot message is relevant to the cpu specification in the kernel configuration, but not to the CPUTYPE in make.conf. This value is used for compiler optimization with the -march option to GNU C and I have been told that K6 is preferred to 686 for the Athlon with the current compiler. There is no specific -march option for the Athlon in gcc 2.95.3. There may be one in version 3 when it is deemed stable enough for FreeBSD. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message