delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/15/20:27:43

From: grantl AT deerinet DOT nb DOT ca ("Grant Leslie")
Subject: Re: Why is cygwin.dll?
15 Jan 1997 20:27:43 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <B0000001226.cygnus.gnu-win32@nt1.deerinet.nb.ca>
Mime-Version: 1.0
Original-To: "GNU-WIN32" <gnu-win32 AT cygnus DOT com>
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1160
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> This is my assumption, do some simple math:
> 
> CYGWIN.DLL = 3,046,367 bytes (3 megs, roughly)
> 
> Sure, you could basically put that into any given .EXE
> 
> Now, figure on programs like grep.exe (91,648 bytes) having to include 
> that library in their .EXE...grep is now 3 megs, instead of 91k.

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.

-
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