Date: Fri, 12 Mar 2004 12:56:38 +0100 From: Manuel Hernandez <manu@whitecats.mine.nu> To: List FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How much difference does 'gcc -O<x>' make? Message-ID: <20040312115638.GA522@whitecats.mine.nu> In-Reply-To: <101C5248-740D-11D8-B665-000A95B9AE7E@borg-cube.com> References: <101C5248-740D-11D8-B665-000A95B9AE7E@borg-cube.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 12, 2004 at 02:07:26AM -0800, Donald Burr wrote: > A question occurred to me today. How much difference does 'gcc -O<x>' > make in the speed of my system? > > I notice some ports that claim to not work properly if compiled with > -O<x> (the one that comes to mind right away is XFree86 4.x, but I've > seen others) and I am thinking of just turning OFF -O<x> option in my > /etc/make.conf. I'm just wondering how much of an impact this will > have on system performance. Hi Donald! I'm a newbie, only two months with my FBSD 4.9-RELEASE. I have this on my /etc/make.conf: CPUTYPE=p4 CFLAGS= -O -pipe And everything works fine (I have compiled all the system, kernel, ports, etc) My box is a Intel P4 with HTT enabled, 1024M 333DDR RAM. I asked about that in freenode (IRC) and these were the settings that they tell me. My box is a workstation + mail server + web server. Excuse my horrible English :-) Regards Manuel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040312115638.GA522>
