From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 00:20:21 2003 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 BEDE216A4D6 for ; Tue, 4 Nov 2003 00:20:21 -0800 (PST) Received: from hotmail.com (law11-oe24.law11.hotmail.com [64.4.16.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E0E743F75 for ; Tue, 4 Nov 2003 00:20:21 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 4 Nov 2003 00:20:20 -0800 Received: from 218.193.5.120 by law11-oe24.law11.hotmail.com with DAV; Tue, 04 Nov 2003 08:20:20 +0000 X-Originating-IP: [218.193.5.120] X-Originating-Email: [weiwuzhang@hotmail.com] Message-ID: <3FA76159.6010807@hotmail.com> Date: Tue, 04 Nov 2003 16:20:41 +0800 From: Zhang Weiwu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4.1) Gecko/20031025 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Nov 2003 08:20:20.0994 (UTC) FILETIME=[7CE4A620:01C3A2AC] Subject: optimize with -O2 or -O? 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: Tue, 04 Nov 2003 08:20:21 -0000 X-List-Received-Date: Tue, 04 Nov 2003 08:20:21 -0000 X-List-Received-Date: Tue, 04 Nov 2003 08:20:21 -0000 Hello. I'm running 5.1-RELEASE. I read the gcc man page. It is not clear what -O implys. Is -O equal to -O1 or -O2? If I wish to optimize making does it make sense to add CFLAGS=-O2 in the make.conf(5)?