This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] "make install" in mmalloc to work on MS-DOS


The following patch is required so that "make install" would work on
filesystems where libmmalloc.a.n is not a valid file name.

Okay to commit?

2000-03-17  Eli Zaretskii  <eliz@is.elta.co.il>

	* Makefile.in (install): Append "n", not ".n" to libmmalloc.a,
	since the latter loses on DOS 8+3 filesystems.

--- mmalloc/Makefile.i~0	Fri Apr 16 03:55:28 1999
+++ mmalloc/Makefile.in	Fri Mar 17 14:32:50 2000
@@ -121,9 +121,9 @@
 #	./a.out
 
 install:	all
-		$(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB).n
-		$(RANLIB) $(libdir)/$(TARGETLIB).n
-		mv -f $(libdir)/$(TARGETLIB).n $(libdir)/$(TARGETLIB)
+		$(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)n
+		$(RANLIB) $(libdir)/$(TARGETLIB)n
+		mv -f $(libdir)/$(TARGETLIB)n $(libdir)/$(TARGETLIB)
 
 $(TARGETLIB):	$(TARGETOBJS)
 		$(RM) -rf $@

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]