Re: some compile errors fo gdb-7.0.1

Harald Koenig
2010-02-23T16:35:28Z

[-- Attachment #1: Type: text/plain, Size: 1224 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).

Harald Koenig
--
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig \/\/\/\/\/\/\/\/\/
science+computing ag // / \\ \
koenig@science-computing.de ^^^^^ ^^^^^
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier,
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Michel Lepert
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196

[-- Attachment #2: mh-ppc-aix.diff --]
[-- Type: text/plain, Size: 486 bytes --]

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;`