From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2037 invoked by alias); 15 Apr 2005 08:30:19 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1958 invoked from network); 15 Apr 2005 08:30:10 -0000 Received: from unknown (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org with SMTP; 15 Apr 2005 08:30:10 -0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DMM9U-0004KH-FR for gdb@sources.redhat.com; Fri, 15 Apr 2005 10:26:12 +0200 Received: from 130.225.245.182 ([130.225.245.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Apr 2005 10:26:12 +0200 Received: from fedevaps by 130.225.245.182 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Apr 2005 10:26:12 +0200 To: gdb@sources.redhat.com From: JS Subject: Re: Option -00? Date: Fri, 15 Apr 2005 08:30:00 -0000 Message-ID: References: <20050414205233.GA22890@nevyn.them.org> Reply-To: fedevaps@yahoo.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 130.225.245.182 User-Agent: KNode/0.7.7 X-SW-Source: 2005-04/txt/msg00084.txt.bz2 Daniel Jacobowitz wrote: > On Thu, Apr 14, 2005 at 10:35:47PM +0200, JS wrote: >> I read that you could give gcc an -00 or -OO option. Is it double zero or >> double O and what does the option do? >> >> I searched the "man gcc" for both -00 and -OO but found nothing. > > Search a little harder? > > -O0 Do not optimize. This is the default. > > That's a zero. > Is it an O like in ONE followed by a zero? When you say its default does it mean that it is turned on even if I don't specify it to gcc?