From owner-freebsd-current Sun Oct 28 6:37:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from mikea.ath.cx (okc-65-30-192-11.mmcable.com [65.30.192.11]) by hub.freebsd.org (Postfix) with ESMTP id 8585437B407; Sun, 28 Oct 2001 06:37:37 -0800 (PST) Received: (from mikea@localhost) by mikea.ath.cx (8.11.6/8.11.1) id f9SEbZB08836; Sun, 28 Oct 2001 08:37:35 -0600 (CST) (envelope-from mikea) Date: Sun, 28 Oct 2001 08:37:35 -0600 From: mikea To: chip@chocobo.cx Cc: sobomax@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: adding athlon xp to bsd.cpu.mk Message-ID: <20011028083735.B8778@mikea.ath.cx> References: <200110280030.f9S0UfW82593@gits.dyndns.org> <20011028014905.A55998@setzer.chocobo.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011028014905.A55998@setzer.chocobo.cx>; from chip@setzer.chocobo.cx on Sun, Oct 28, 2001 at 01:49:05AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Oct 28, 2001 at 01:49:05AM -0500, Chip Marshall wrote: > Couldn't a test be done on the Features information of the processor > to determine the best optimizations? Or would that break > cross-compiliation of optimized code? So I compile something on my AMD box which I expect to run only on my P-III or P-IV box. The program is optimized for the AMD processor. This is _not_ what I would want. Ditto for the converse case. IMHO, the control needs to be in environment variables and/or in parameters passed to the compiler somehow. -- Mike Andrews mikea@mikea.ath.cx Tired old sysadmin since 1964 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message