From owner-freebsd-arch Thu Aug 1 10:19:18 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D0E137B401 for ; Thu, 1 Aug 2002 10:19:13 -0700 (PDT) Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id C690343E7B for ; Thu, 1 Aug 2002 10:19:12 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 13271 invoked from network); 1 Aug 2002 17:19:12 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 1 Aug 2002 17:19:12 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.5/8.12.5) with ESMTP id g71HJBuR061251; Thu, 1 Aug 2002 13:19:11 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020801154550.37460.qmail@web14107.mail.yahoo.com> Date: Thu, 01 Aug 2002 13:19:12 -0400 (EDT) From: John Baldwin To: Jesse Gross Subject: Re: march/mcpu in bsd.cpu.mk Cc: arch@FreeBSD.org, Mikhail Teterin Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 01-Aug-2002 Jesse Gross wrote: > On a similar note, relating to the addition of the new -march settings, > for GCC, I have written a patch for -STABLE. > > Some ports use GCC 3.1 installed from the ports tree. However, the > -march settings in CFLAGS are tuned by bsd.cpu.mk to be the flags that > GCC 2.95 can handle. My patch checks whether GCC 3.1 is being used and > if it is uses the best -march based on CPUTYPE in make.conf. I think this is not something that will scale well. Do we want to support every possible version of gcc, icc, etc. in bsd.cpu.mk? I think that will make it a mess. We should just leave it as supporting the compiler in the base system. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message