This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: some compile errors fo gdb-7.0.1
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Harald Koenig <H dot Koenig at science-computing dot de>
- Cc: Pedro Alves <pedro at codesourcery dot com>, bug-gdb at gnu dot org, gdb-patches at sourceware dot org, Harald Koenig <koenig at science-computing dot de>
- Date: Mon, 1 Mar 2010 10:51:10 +0400
- Subject: Re: some compile errors fo gdb-7.0.1
- References: <20100215141621.GA9469@atuin.science-computing.de> <201002181923.34196.pedro@codesourcery.com> <20100223163505.GA21619@atuin.science-computing.de>
> 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