From owner-freebsd-questions Thu Jun 1 13:22:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-1.sjc.telocity.net (mail-1.sjc.telocity.net [216.227.56.41]) by hub.freebsd.org (Postfix) with ESMTP id 23E5037BF30 for ; Thu, 1 Jun 2000 13:22:08 -0700 (PDT) (envelope-from otterr@telocity.com) Received: from telocity.com (dsl-216-227-91-85.telocity.com [216.227.91.85]) by mail-1.sjc.telocity.net (8.9.3/8.9.3) with ESMTP id NAA12175; Thu, 1 Jun 2000 13:21:12 -0700 (PDT) Message-ID: <3936C6A7.BCDA430C@telocity.com> Date: Thu, 01 Jun 2000 16:25:11 -0400 From: Otter X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Eric Ogren Cc: Mike Johnson , questions@FreeBSD.ORG Subject: Re: How to compile with cpu opts. References: <20000601112326.A4464@earthlink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Eric Ogren wrote: > > If you really really want to, you can put > CFLAGS= -march=pentium > in /etc/make.conf. > For more options, or for an explanation of what's what here, you can "man gcc" for stuff to put into your make.conf. My -current box is a dual Pentium III. I'm using the following optimizations in my make.conf: CFLAGS= -ffast-math -pipe -march=pentiumpro -O3 (that's the letter O, not a zero) Also, keep in mind what Eric said about support when your compiler starts barfing (ok, maybe that's just my paraphrase). I haven't had any problems with mine yet. -Otter > However, if you do this, and things start breaking, especially when you > try to make world or compile a kernel, you aren't going to find a lot of > help from the mailing lists, since we don't support platform > optimization when compiling the userland or the kernel. > > Eric > > On Thu, Jun 01, 2000 at 11:23:28AM -0400, Mike Johnson wrote: > > Hey > > I want to be able to compile programs in /usr/ports with > > i686/i586 cpu optmazations. I know something about /etc/make.conf but im > > not quite sure what to put in there. > > Thanks > > Michael Johnson > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message