This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Move zlib up one level?
----- Original Message -----
From: "Charles Wilson" <cwilson@ece.gatech.edu>
To: <cygwin-apps@cygwin.com>
Sent: Sunday, November 11, 2001 3:23 PM
Subject: Re: Move zlib up one level?
>
>
> Christopher Faylor wrote:
>
> > Would there be any objections to my moving cinstall's zlib directory
to
> > the same level as bz2lib, i.e., making it winsup/zlib?
> >
> > I'd like to use some of its functionality in cygcheck.exe.
>
>
> Yeah, but isn't cygcheck a cygwin1.dll application? That would mean
you'd
> need to (at least) compile libz.a twice anyway -- once as a cygwin
"app"
> and once as a native "app", right?
I don't see that being a *bad* thing. Having a single source dir is a
good thing regardless.
> Or can we build that static lib the same way both times (e.g. only
build it
> once) since *static* libs CAN have unresolved externals (like
"printf") and
> then trust the linker to "do the right thing" w.r.t. cygcheck and
setup?
Only if _all_ the defines used are identical .
Rob