[RFC] patch to get gdb to compile with XLC on AIX 5.3
Manoj Iyer
manjo@austin.ibm.com
Mon Apr 18 16:28:00 GMT 2005
This patch is a workaround to get sim/ppc/ Makefile to build with AIX make
and XLC compiler on AIX 5.3.
--- src/sim/ppc/Makefile.in 2005-01-03 09:34:19.000000000 -0600
+++ ./new/src/sim/ppc/Makefile.in 2005-04-18 11:41:00.000000000 -0500
@@ -627,7 +627,7 @@ mon.o: mon.c $(BASICS_H) $(CPU_H) $(MON_
# GDB after 4.16 expects the default_callback structure to be setup.
# As a kludge, build the common stuff here for now.
gentmap: ../common/gentmap.c Makefile targ-vals.def
- $(CC_FOR_BUILD) $(BUILD_FLAGS) -I. -I../common -I$(srcdir)/../common -o gentmap $< $(BUILD_LIBS)
+ $(CC_FOR_BUILD) $(BUILD_FLAGS) -I. -I../common -I$(srcdir)/../common -o gentmap ../common/gentmap.c $(BUILD_LIBS)
targ-vals.def: $(srcdir)/../common/nltvals.def
rm -f targ-vals.def tmp-def
Thanks
-----
manjo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Cogito ergo sum +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the Gdb-patches
mailing list