From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 02:07:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B68916A4CE for ; Fri, 12 Mar 2004 02:07:25 -0800 (PST) Received: from borg-cube.com (netblock-66-159-209-110.dslextreme.com [66.159.209.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47AEB43D3F for ; Fri, 12 Mar 2004 02:07:25 -0800 (PST) (envelope-from dburr@borg-cube.com) Received: from [192.168.30.10] (locutus.collective.borg-cube.com [192.168.30.10]) (authenticated bits=0) by borg-cube.com (8.12.11/8.12.11) with ESMTP id i2CA7ONu004360 for ; Fri, 12 Mar 2004 02:07:24 -0800 (PST) (envelope-from dburr@borg-cube.com) Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-Id: <101C5248-740D-11D8-B665-000A95B9AE7E@borg-cube.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: List FreeBSD Questions From: Donald Burr Date: Fri, 12 Mar 2004 02:07:26 -0800 X-Mailer: Apple Mail (2.612) Subject: How much difference does 'gcc -O' make? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 10:07:25 -0000 A question occurred to me today. How much difference does 'gcc -O' make in the speed of my system? I notice some ports that claim to not work properly if compiled with -O (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 option in my /etc/make.conf. I'm just wondering how much of an impact this will have on system performance. FYI, my box is a Via C3 @ 800MHz with 128 MB RAM, and it basically lives its life as an e-mail and Web server and gateway for my home network. (in other words it doesn't do any computing intensive stuff like sequencing DNA or searching for aliens. :) ) TIA for your advice/opinions. Donald -- Donald Burr of Borg | FreeBSD: The Power to Serve! Website: http://www.borg-cube.com/ | http://www.freebsd.org/ PO Box 91212, Santa Barbara CA 93190-1212 \----------------------------- Tel: (805)563-0672 ICQ# 16997506 Present Day... Present Time!