From owner-freebsd-stable Mon Jul 24 11:26:37 2000 Delivered-To: freebsd-stable@freebsd.org Received: from relativity.student.utwente.nl (wit389306.student.utwente.nl [130.89.234.166]) by hub.freebsd.org (Postfix) with ESMTP id 6427E37BC2A for ; Mon, 24 Jul 2000 11:26:27 -0700 (PDT) (envelope-from djb@wit389306.student.utwente.nl) Received: by relativity.student.utwente.nl (Postfix, from userid 1000) id 2E2E55E1E; Mon, 24 Jul 2000 20:27:12 +0200 (CEST) Date: Mon, 24 Jul 2000 20:27:12 +0200 From: Dave Boers To: mi@aldan.algebra.com Cc: Dan Larsson , FreeBSD Stable List Subject: Re: Recommended compilation optimizations Message-ID: <20000724202712.A62709@relativity.student.utwente.nl> Reply-To: djb@ifa.au.dk References: <20000724152021.A61713@relativity.student.utwente.nl> <200007241403.KAA26602@misha.privatelabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200007241403.KAA26602@misha.privatelabs.com>; from mi@aldan.algebra.com on Mon, Jul 24, 2000 at 10:03:40AM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jul 24, 2000 at 10:03:40AM -0400, mi@aldan.algebra.com wrote: > I've seen '-fexpensive-optimizations' break havoc in the squid binary, > so I no longer use it for anything, but '-mcpu=i686 -march=i686' seems > fine to me and tells the compiler that your only target processor is of > the 686 class. If you are not planning to debug the thing, add > '-fomit-frame-pointer'. You appear to be right. I just verified dat my 4.1-stable indeed builds fine with -mcpu=686 and -march=i686 (on SMP dual Celeron). > -mi (who gets annoyed every once in a while when he sees > people discouraging optimization as dangerous instead of > fixing the compiler) Don't get annoyed. Get even :-) Dave Boers. -- .signapping: the unlawful act of capturing and carrying away a .sig against its will and holding it in false imprisonment. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message