Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch] Missing $(EXEEXT)
@ 2005-04-27 20:30 Paul Brook
  2005-04-27 20:34 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Brook @ 2005-04-27 20:30 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

The attached patch adds missing $(EXEEXT) to sim/common/Make-common.in

Tested by building i686-mingw32 hosted cross.
Ok?

Paul

2005-04-27  Paul Brook  <paul@codesourcery.com>

	* common/Make-common.in: Add $(EXEEXT) to "run".

[-- Attachment #2: patch.gdb_run_exe --]
[-- Type: text/x-diff, Size: 1112 bytes --]

Index: common/Make-common.in
===================================================================
RCS file: /var/cvsroot/src-cvs/src/sim/common/Make-common.in,v
retrieving revision 1.20
diff -u -p -r1.20 Make-common.in
--- common/Make-common.in	9 Feb 2005 22:04:04 -0000	1.20
+++ common/Make-common.in	27 Apr 2005 20:08:50 -0000
@@ -252,14 +252,14 @@ RUNTESTFLAGS =
 callback_h = $(srcroot)/include/gdb/callback.h
 remote_sim_h = $(srcroot)/include/gdb/remote-sim.h
 
-all: $(SIM_EXTRA_ALL) libsim.a run .gdbinit
+all: $(SIM_EXTRA_ALL) libsim.a run$(EXEEXT) .gdbinit
 
 libsim.a: $(LIB_OBJS)
 	rm -f libsim.a
 	$(AR) $(AR_FLAGS) libsim.a $(LIB_OBJS)
 	$(RANLIB) libsim.a
 
-run: $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
+run$(EXEEXT): $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
 	$(CC) $(ALL_CFLAGS) -o run$(EXEEXT) \
 	  $(SIM_RUN_OBJS) libsim.a $(EXTRA_LIBS)
 
@@ -646,7 +646,7 @@ TAGS: force
 
 clean: $(SIM_EXTRA_CLEAN)
 	rm -f *.[oa] *~ core
-	rm -f run libsim.a
+	rm -f run$(EXEEXT) libsim.a
 	rm -f gentmap targ-map.c targ-vals.h stamp-tvals
 	if [ ! -f Make-common.in ] ; then \
 		rm -f $(BUILT_SRC_FROM_COMMON) ; \

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

* Re: [patch] Missing $(EXEEXT)
  2005-04-27 20:30 [patch] Missing $(EXEEXT) Paul Brook
@ 2005-04-27 20:34 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2005-04-27 20:34 UTC (permalink / raw)
  To: Paul Brook; +Cc: gdb-patches

On Wed, Apr 27, 2005 at 09:30:02PM +0100, Paul Brook wrote:
> The attached patch adds missing $(EXEEXT) to sim/common/Make-common.in
> 
> Tested by building i686-mingw32 hosted cross.
> Ok?
> 
> Paul
> 
> 2005-04-27  Paul Brook  <paul@codesourcery.com>
> 
> 	* common/Make-common.in: Add $(EXEEXT) to "run".

This is OK.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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

end of thread, other threads:[~2005-04-27 20:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-27 20:30 [patch] Missing $(EXEEXT) Paul Brook
2005-04-27 20:34 ` Daniel Jacobowitz

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