From: Vincent T. <vt...@un...> - 2007-05-02 21:55:52
|
On Tue, 1 May 2007, Charles Wilson wrote: > Vincent Torri wrote: >> I have attached a new patch for the zlib port. It uses gcc to create the >> shared library. >> >> I also changed the name zlib1.dll to a more classic name : libz-1.dll > > This is good -- and bad. According to http://www.zlib.net/DLL_FAQ.txt the > name 'zlib1.dll' is reserved explicitly for a zlib DLL compiled in a specific > manner, guaranteeing compatibility for win32 users who just want to download > the DLL itself. Otherwise, system integrators are asked to use a name other > than 'zlib1.dll'. > > However, I believe that mingw's zlib dll *is* compiled in the correct manner, > and should be interface-compatible with the official zlib dll. So, we *could* > use the 'zlib1.dll' name if we choose to. ok. I can make the patch without changing the lib name. Keith, would it be good for you ? > > My suggestion: use the patch from cygwin (attached) which modifies the > top-level Makefile.in and configure. (This patch already includes some > mingw-specific changes). Then, do a regular 'configure && make' instead of > 'make -f win32/Makefile.gcc' > > You will probably need to modify some parts of the patch, as the mingw bits > have likely bitrotted. Also, the patch defines the dll name as "mgwz.dll" > based on an old (rejected) idea of mine; you'll want to change that. maybe I'll look at it. I don't know if using autofoo is really useful here, as you just compile few files and just create the library from them. Vincent Torri |