Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFC] patch to get gdb to compile with XLC on AIX 5.3
@ 2005-04-18 16:28 Manoj Iyer
  2005-04-18 16:35 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Manoj Iyer @ 2005-04-18 16:28 UTC (permalink / raw)
  To: gdb-patches


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                                                          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-18 22:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-18 16:28 [RFC] patch to get gdb to compile with XLC on AIX 5.3 Manoj Iyer
2005-04-18 16:35 ` Daniel Jacobowitz
2005-04-18 22:42   ` Manoj Iyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox