From owner-freebsd-current Thu Sep 23 9:18:59 1999 Delivered-To: freebsd-current@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 8B4B114F5A for ; Thu, 23 Sep 1999 09:18:54 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id LAA62118; Thu, 23 Sep 1999 11:17:52 -0500 (CDT) (envelope-from dan) Date: Thu, 23 Sep 1999 11:17:52 -0500 From: Dan Nelson To: bsd@picard.mandrakesoft.de Cc: The Hermit Hacker , freebsd-current@FreeBSD.ORG Subject: Re: gcc optimizer in -current system ... Message-ID: <19990923111752.B57930@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Sep 23), bsd@picard.mandrakesoft.de said: > On Thu, 23 Sep 1999, The Hermit Hacker wrote: > > just curious, but what is the max setting that can be used to > > compile the kernel? > > Works rather nicely here with > > -O6 -mpentiumpro -march=pentiumpro -pipe -s -fexpensive-optimizations > -ffast-math -O6 is too much; -O3 is the highest level tested for by egcs. -fexpensive-optimizations is redundant because -O2 turns it on. See /usr/src/contrib/egcs/gcc/toplev.c, starting at line ~4250, to see what the different -O levels actually do. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message