delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/11/26/20:54:40

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: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
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 <cwilson AT ece DOT gatech DOT edu>
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 <robert DOT collins AT itdomain DOT com DOT au>
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>

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019