This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: Obtaining a pervious version


On Tue, Feb 18, 2003 at 12:03:14AM -0000, Max Bowsher wrote:
>John Williams wrote:
>> Christopher Faylor wrote:
>>>Ok.  This version just changes the name of the DLL from cygwin1.dll to
>>>xygwin1.dll.
>>
>>What surprises me though is that if I duplicate xygwin1.dll to
>>cygwin1.dll, it doesn't work???
>>
>>Am I missing something here?
>
>Impossible to answer fully without a detailed analysis of the xygwin
>modifications.  I assume they broke binary compatibility for some
>reason.

The sources available for download are for 1.3.2.  The differences are
below.  Basically, it seems like they made a few changes without really
thinking too hard about what they did.  So, the cygwin mount table will
be found in another registry entry but it will end up in the same shared
memory region.

Reading further in the thread, I see that there was an accommodation of
sorts.  I want to point out that it should be possible to build any
of the tools that you're using under cygwin.  IMO, that's the best
solution to this.

In fact, it should be possible to just binary edit the tools and change
the 'xygwin1.dll' to 'cygwin1.dll'.  Then you can just get rid of the
xygwin1.dll crap entirely.

cgf

diff -rupw cygwin-1.3.2-1/winsup/cygwin/Makefile.in /netrel/src/old/cygwin-1.3.2-1/winsup/cygwin/Makefile.in
--- cygwin-1.3.2-1/winsup/cygwin/Makefile.in	2002-01-18 00:09:34.000000000 -0500
+++ /netrel/src/old/cygwin-1.3.2-1/winsup/cygwin/Makefile.in	2001-04-24 15:16:13.000000000 -0400
@@ -90,8 +90,7 @@ RUNTESTFLAGS =
 # native rebuilding issues (we don't want the build tools to see a partially
 # built cygwin.dll and attempt to use it instead of the old one).
 
-#DLL_NAME:=cygwin1.dll
-DLL_NAME:=xygwin1.dll
+DLL_NAME:=cygwin1.dll
 LIB_NAME:=libcygwin.a
 DEF_FILE:=cygwin.def
 DLL_ENTRY:=@DLL_ENTRY@
Only in cygwin-1.3.2-1/winsup/cygwin: Makefile.in~
Only in /netrel/src/old/cygwin-1.3.2-1/winsup/cygwin/config: CVS
Only in /netrel/src/old/cygwin-1.3.2-1/winsup/cygwin/config/i386: CVS
diff -rupw cygwin-1.3.2-1/winsup/cygwin/cygwin.din /netrel/src/old/cygwin-1.3.2-1/winsup/cygwin/cygwin.din
--- cygwin-1.3.2-1/winsup/cygwin/cygwin.din	2002-01-18 00:10:42.000000000 -0500
+++ /netrel/src/old/cygwin-1.3.2-1/winsup/cygwin/cygwin.din	2001-05-07 23:55:33.000000000 -0400
@@ -1,4 +1,4 @@
-LIBRARY "xygwin1.dll" BASE=0x61000000
+LIBRARY "cygwin1.dll" BASE=0x61000000
 
 EXPORTS
 __assert
diff -rupw cygwin-1.3.2-1/winsup/cygwin/include/cygwin/version.h /netrel/src/old/cygwin-1.3.2-1/winsup/cygwin/include/cygwin/version.h
--- cygwin-1.3.2-1/winsup/cygwin/include/cygwin/version.h	2002-01-18 00:13:16.000000000 -0500
+++ /netrel/src/old/cygwin-1.3.2-1/winsup/cygwin/include/cygwin/version.h	2001-05-07 23:55:37.000000000 -0400
@@ -166,22 +166,13 @@ details. */
 
      /* Identifiers used in the Win32 registry. */
 
-/*#define CYGWIN_INFO_CYGNUS_REGISTRY_NAME "Cygnus Solutions"
+#define CYGWIN_INFO_CYGNUS_REGISTRY_NAME "Cygnus Solutions"
 #define CYGWIN_INFO_CYGWIN_REGISTRY_NAME "Cygwin"
 #define CYGWIN_INFO_PROGRAM_OPTIONS_NAME "Program Options"
 #define CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME "mounts v2"
 #define CYGWIN_INFO_CYGDRIVE_FLAGS "cygdrive flags"
 #define CYGWIN_INFO_CYGDRIVE_PREFIX "cygdrive prefix"
 #define CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX "/cygdrive"
-*/
-
-#define CYGWIN_INFO_CYGNUS_REGISTRY_NAME "Xilinx"
-#define CYGWIN_INFO_CYGWIN_REGISTRY_NAME "MicroBlaze"
-#define CYGWIN_INFO_PROGRAM_OPTIONS_NAME "Program Options"
-#define CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME "mounts v2"
-#define CYGWIN_INFO_CYGDRIVE_FLAGS "xygdrive flags"
-#define CYGWIN_INFO_CYGDRIVE_PREFIX "xygdrive prefix"
-#define CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX "/xygdrive"
 
      /* In addition to the above version number strings, the build
 	process adds some strings that may be useful in

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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