This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


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

Re: make install in winsup


On 18 Aug 1999 around  1:36PM (-0400) DJ Delorie wrote:

> Is there a way to rename/replace a DLL while it's being used?
> If so, we should fix it, but I keep getting "file busy" errors.

IIRC, used to be, the DLL was installed as new-cygwin1.dll. I'm
thinking that would result in fewer complaints from those who
"ignore all of the caveats on the snapshot web page"; since,
"if people are ignoring the caveats on the snapshot web page,
then they'll probably not be inclined to go the extra mile and
look for documentation."

For example, I use the following change:

--- Makefile.in.ORIG	Sun Aug 15 00:22:52 1999
+++ Makefile.in		Sun Aug 15 08:05:38 1999
@@ -217,7 +217,8 @@ install: $(THEIR_LIBS) $(LIB_NAME) new-$
 	  binname=`t='$(program_transform_name)'; echo "$$i" | sed -e $$t` ; \
 	  echo "program_transform_name=$(program_transform_name), i=$$i, binname=$$binname"; \
 	  rm -f $(bindir)/$$binname ; \
-	  $(INSTALL_DATA) new-$$i $(bindir)/$$binname ; \
+	  rm -f $(bindir)/new-$$binname ; \
+	  $(INSTALL_DATA) new-$$i $(bindir)/new-$$binname ; \
 	done
 	for sub in include include/arpa include/asm \
 	   include/cygwin include/net include/netinet include/sys ; do \

-glenn

-- 
 )      Glenn Spell <glenn@gs.fay.nc.us>      )   _       _____
 )   Fayetteville, North Carolina, U. S. A.   )_ (__\____o /_/_ |
 )     _  _  _  _  _  _  _  _  _  _  _  _     )   >-----._/_/__]>
 )--- Cygwin - Don't leave Unix without it ---)             `0  |

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