delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/16/17:50:12

From: emarshal AT common DOT net ("Edward S. Marshall")
Subject: Re: Why is cygwin.dll?
16 Jan 1997 17:50:12 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.LNX.3.93.970116121733.4916A-100000.cygnus.gnu-win32@prime.common.net>
Mime-Version: 1.0
Original-To: Grant Leslie <grantl AT deerinet DOT nb DOT ca>
Original-cc: GNU-WIN32 <gnu-win32 AT cygnus DOT com>
In-Reply-To: <B0000001226@nt1.deerinet.nb.ca>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

On Wed, 15 Jan 1997, Grant Leslie wrote:
: Umm not to be too picky, but, I believe when linking only those functions
: which the program used would be included. meaning grep wouldn't be 3meg
: larger. Although due to the way cygwin works I'm sure including any of it
: would require alot of others to be included, mostly for file access I would
: assume. I'm sure it would be nice to make simple programs that don't
: require cygwin.dll I even think I read somewhere about Cygnus working out
: how to do this. Though you would probably still end up with an exe much
: larger than one that uses cygwin.dll.

As an alternative approach, has anyone considered breaking cygwin.dll into
functional portions, i.e. groups of functions which are functionally
dependant upon each other are broken into separate dll's? The gain here
would be that the entire 3M dll wouldn't necessarily be loaded all at
once; for any given application (say, bash) you might only need 1.5M of
the code in that dll. By breaking them into separate dll's, you win with
memory. The downside is in linking: you need to be a little more
intelligent in the generation of compiled apps, I would think (would need
to do on-the-fly consideration of what dll's to link to the app).

Comments?

--
..-----------------------------------------------------------------------------.
| Edward S. Marshall <emarshal AT common DOT net> | CII Technical Administrator,     |
| http://www.common.net/~emarshal/         | Vice-President, Common Internet  |
| Finger for PGP public key.               | Inc, and Linux & LPmud (ab)user. |
`-----------------------------------------------------------------------------'

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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