From owner-freebsd-stable Tue Jul 23 11:26:12 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 541AF37B400 for ; Tue, 23 Jul 2002 11:26:09 -0700 (PDT) Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by mx1.FreeBSD.org (Postfix) with SMTP id F219743E42 for ; Tue, 23 Jul 2002 11:26:08 -0700 (PDT) (envelope-from john_m_cooper@yahoo.com) Received: from pc016247.reshall.uidaho.edu (HELO johncoop.borgsdemons.com) (john?m?cooper@129.101.136.30 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 23 Jul 2002 18:26:08 -0000 Subject: Re: USE_GCC=3.1 & CPUTYPE From: John Merryweather Cooper Reply-To: john_m_cooper@yahoo.com To: Jesse Gross Cc: stable@freebsd.org In-Reply-To: <20020723144824.43689.qmail@web14101.mail.yahoo.com> References: <20020723144824.43689.qmail@web14101.mail.yahoo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 23 Jul 2002 11:26:34 -0700 Message-Id: <1027448795.90099.17.camel@johncoop.borgsdemons.com> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On a related note, it would be helpful if CPUTYPE would also respond to situations such as the use of GNAT (the Ada compiler) which is currently limited to a gcc 2.8.1 set of -march flags. Having to manually "demote" CPUTYPE to build some Ada ports is a pain. On Tue, 2002-07-23 at 07:48, Jesse Gross wrote: > Hi, > > I have USE_GCC=3.1 defined in my make.conf to build ports with GCC > 3.1.1. > > My computer has an Athlon CPU, so I have CPUTYPE=k7. However, this is > knocked down to k6 because the system GCC 2.95.4 doesn't support > -march=athlon. GCC 3.1.1 does support this as well as other new target > CPUs. Is there a way to use the highest supported target automatically > depending on which version of GCC is being used? > > Thanks, > > Jesse Gross > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- _ | |V| / ' || MacroHard -- \ \_| | | \_, || the perfection of form over | ----------------------------------|| substance, marketing over | Web: http://www.borgsdemons.com || performance, and greed over | AIM: johnmcooper || design . . . | =====================================================================/ Public Key: http://www.borgsdemons.com/Personal/pgpkey.asc | =====================================================================\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message