🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1082

Re: some compile errors fo gdb-7.0.1

#1082
From: Joel Brobecker
Date: Mon, 01 Mar 2010 06:51
26 lines
2986 bytes
> 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
Technical Details
Message-ID: <mailman.2152.1267539277.14305.bug-gdb@gnu.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.glorb.com!news.isc.org!usenet.stanford.edu!news.stanford.edu!not-for-mail
References: <20100215141621.GA9469@atuin.science-computing.de> <201002181923.34196.pedro@codesourcery.com> <20100223163505.GA21619@atuin.science-computing.de>

Show Full Headers
Complete Article Headers
X-Google-Thread: f0ead4270c,bc75c21c9a9e46ff,start
X-Google-Attributes: gidf0ead4270c,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.glorb.com!news.isc.org!usenet.stanford.edu!news.stanford.edu!not-for-mail
From: Joel Brobecker <brobecker@adacore.com>
Newsgroups: gnu.gdb.bug
Subject: Re: some compile errors fo gdb-7.0.1
Date: Mon, 1 Mar 2010 10:51:10 +0400
Lines: 28
Approved: bug-gdb@gnu.org
Message-ID: <mailman.2152.1267539277.14305.bug-gdb@gnu.org>
References: <20100215141621.GA9469@atuin.science-computing.de>
 <201002181923.34196.pedro@codesourcery.com>
 <20100223163505.GA21619@atuin.science-computing.de>
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.stanford.edu 1267539277 29844 199.232.76.165 (2 Mar 2010 14:14:37 GMT)
X-Complaints-To: news@news.stanford.edu
Cc: Harald Koenig <koenig@science-computing.de>, gdb-patches@sourceware.org,
 Pedro Alves <pedro@codesourcery.com>, bug-gdb@gnu.org
To: Harald Koenig <H.Koenig@science-computing.de>
Envelope-to: bug-gdb@gnu.org
X-Virus-Scanned: Debian amavisd-new at gnat.com
Content-Disposition: inline
In-Reply-To: <20100223163505.GA21619@atuin.science-computing.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Mailman-Approved-At: Tue, 02 Mar 2010 09:14:35 -0500
X-BeenThere: bug-gdb@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GDB, the GNU debugger" <bug-gdb.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gdb>
List-Post: <mailto:bug-gdb@gnu.org>
List-Help: <mailto:bug-gdb-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=subscribe>