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

From: grantl AT deerinet DOT nb DOT ca ("Grant Leslie")
Subject: Re: Why is cygwin.dll?
16 Jan 1997 17:43:04 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <B0000001265.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


> > 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.
> 
> No. That is totally wrong. Go compile grep or a similar program with
watcom
> or visual C++. You will find that they do not have to be that big. It is
> because when you link the program, you only link the bits you need.

Maybe if you could get it ported to Visual C++, however when talking about
cygwin.dll, as mentioned in Jim Balter's reply to the same thread, if you
compile this on Visual C++ it would be using DOS's file system and syscalls
etc.. yet under cygwin.dll for file access it would need all the extra code
which cygwin.dll adds to mimic the  Unix subsystems. This would no doubt be
a rather large amount, and if just making something like grep by itself
mostly be unnecessary, assuming you just want want grep on win32.    

-
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