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

* Re: [RFC] patch to get gdb to compile with XLC on AIX 5.3
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2005-04-18 16:35 UTC (permalink / raw)
  To: Manoj Iyer; +Cc: gdb-patches

On Mon, Apr 18, 2005 at 12:02:03PM -0500, Manoj Iyer wrote:
> 
> This patch is a workaround to get sim/ppc/ Makefile to build with AIX make
> and XLC compiler on AIX 5.3.

Again, please always include changelogs with patches that you want
approval for.  An explanation of what actually goes wrong would be
nice, too.

I guess AIX's make is so unique that it can't handle $<?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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

* Re: [RFC] patch to get gdb to compile with XLC on AIX 5.3
  2005-04-18 16:35 ` Daniel Jacobowitz
@ 2005-04-18 22:42   ` Manoj Iyer
  0 siblings, 0 replies; 3+ messages in thread
From: Manoj Iyer @ 2005-04-18 22:42 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb-patches

>
> I guess AIX's make is so unique that it can't handle $<?

Yes the make can handle $< but in this case its not able to... I think I
want to look at it somemore, see if I can do something to fix it
differently

 >
> --
> Daniel Jacobowitz
> CodeSourcery, LLC
>


^ 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