From owner-freebsd-stable Tue Jul 23 11:56:28 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 439A837B400 for ; Tue, 23 Jul 2002 11:56:24 -0700 (PDT) Received: from web14102.mail.yahoo.com (web14102.mail.yahoo.com [216.136.172.132]) by mx1.FreeBSD.org (Postfix) with SMTP id CAABC43E42 for ; Tue, 23 Jul 2002 11:56:23 -0700 (PDT) (envelope-from jesse_gross@yahoo.com) Message-ID: <20020723185623.9602.qmail@web14102.mail.yahoo.com> Received: from [172.156.169.20] by web14102.mail.yahoo.com via HTTP; Tue, 23 Jul 2002 11:56:23 PDT Date: Tue, 23 Jul 2002 11:56:23 -0700 (PDT) From: Jesse Gross Subject: Re: USE_GCC=3.1 & CPUTYPE To: john_m_cooper@yahoo.com Cc: stable@freebsd.org In-Reply-To: <1027448795.90099.17.camel@johncoop.borgsdemons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 It shouldn't be too hard to fix bsd.cpu.mk to support newer CPU targets when the current version of GCC supports it. I will submit a patch to do this in the near future. I am also willing to try to find a solution for the problem with the Ada compiler if someone can give me a bit more information as I am not a big Ada user. Jesse Gross --- John Merryweather Cooper wrote: > 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