This is the mail archive of the cygwin-apps@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: Remove cinstall src directory from snapshots


Robert Collins wrote:


> 
> That will have been the issue. cinstall needs common makefile elements
> from the winsup directory, as well as the bz2lib directory and w32api.
> I'll accept patches to make cinstall build when isolated from the winsup
> directory, and use the system installed w32api and bz2lib and optionally
> zlib 


Watch out, here.  The bzlib and zlib installed on cygwin have the 
following characteristics:
   a) link to the DLL by default (so you have to use -static and 
-DZLIB_STATIC etc if you want to link statically)
   b) since DLL's are not allowed to have unresolved symbols when they 
are built, cygz.dll and cygbz21.dll are "prelinked" to cygwin1.dll.  So 
linking setup.exe dynamically to the "system" zlib and bzlib is out.
   c) So, you have to do the wacky -DZLIB_STATIC stuff...
Blech.


--Chuck



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