From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30072 invoked by alias); 1 Mar 2010 06:51:26 -0000 Received: (qmail 30054 invoked by uid 22791); 1 Mar 2010 06:51:25 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Mar 2010 06:51:19 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 1B1F62BABF3; Mon, 1 Mar 2010 01:51:18 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yG348KoMCHlp; Mon, 1 Mar 2010 01:51:18 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 7FCA62BAB25; Mon, 1 Mar 2010 01:51:17 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id A26F4F5917; Mon, 1 Mar 2010 10:51:10 +0400 (RET) Date: Mon, 01 Mar 2010 06:51:00 -0000 From: Joel Brobecker To: Harald Koenig Cc: Pedro Alves , bug-gdb@gnu.org, gdb-patches@sourceware.org, Harald Koenig Subject: Re: some compile errors fo gdb-7.0.1 Message-ID: <20100301065110.GC2832@adacore.com> References: <20100215141621.GA9469@atuin.science-computing.de> <201002181923.34196.pedro@codesourcery.com> <20100223163505.GA21619@atuin.science-computing.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100223163505.GA21619@atuin.science-computing.de> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00006.txt.bz2 > one more small patch for AIX in config/mh-ppc-aix in case $CC includes > spaces. for some reason in older gdb version we needed CC='gcc > -isystem /usr/include' shows that quoting problem. will test if this > still is needed (read: what's the real problem and a better fix, iff > still needed at alll). Your patch looks reasonable to me, but it is not relevant to GDB specifically. You need to send it to gcc-patches. > Index: mh-ppc-aix > =================================================================== > RCS file: /cvs/src/src/config/mh-ppc-aix,v > retrieving revision 1.3 > diff -u -r1.3 mh-ppc-aix > --- mh-ppc-aix 16 Aug 2009 12:49:48 -0000 1.3 > +++ mh-ppc-aix 23 Feb 2010 16:31:34 -0000 > @@ -5,4 +5,4 @@ > # don't do it any more. > BOOT_ADAFLAGS = -gnatapg > BOOT_LDFLAGS = -Wl,-bbigtoc > -LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;` > +LDFLAGS = `case "$(CC)" in *gcc*) echo -Wl,-bbigtoc ;; esac;` -- Joel