Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <3C02F279.3020207@ece.gatech.edu> Date: Mon, 26 Nov 2001 20:55:05 -0500 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Robert Collins CC: pgarceau AT qwest DOT net, cygwin-apps AT cygwin DOT com Subject: Re: Remove cinstall src directory from snapshots References: <3C0273A3 DOT 4316 DOT 702A6A AT localhost> <03bf01c176e1$2b95eed0$0200a8c0 AT lifelesswks> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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