Hi,

Apparently gdb now includes a simulator for PowerPC (and other archs, but
not i386), and there's a bug in the Makefile.in that prevents the gdb rpm
from building on PPC. The following patch fixes this (also attached).


--- gdb-5.2.1/sim/Makefile.in.bak       1999-04-16 03:34:55.000000000 +0200
+++ gdb-5.2.1/sim/Makefile.in   2002-08-20 11:05:37.000000000 +0200
@@ -80,6 +80,11 @@

 FLAGS_TO_PASS = \
        "prefix=$(prefix)" \
+       "bindir=$(bindir)" \
+       "mandir=$(mandir)" \
+       "infodir=$(infodir)" \
+       "includedir=$(includedir)" \
+       "libdir=$(libdir)" \
        "exec_prefix=$(exec_prefix)" \
        "against=$(against)" \
        "AR=$(AR)" \



greetings,

    Christiaan

Attachment: gdb-sim-build-fix.patch.bz2
Description: Binary data

Reply via email to