From: "Peña, Botp" <>
> From: Bill Kelly [private.php?do=newpm&u=]
> # (I think most cygwin programs only depend on cygwin1.dll
> # which is about 1.2 meg on my system.)
>
> interesting, i didn't know that. So what is the minimum set of files needed to run
> cygwin? i'm asking since i haven't used one for a long long time now..
It depends. (lol, pun not intended, but my next sentence was going to involve
depend.exe)
Er... using depends.exe [1] one can view a tree of dependencies for a .exe or
dll file (among other object formats.)
A number of cygwin-compiled binaries only depend on cygwin1.dll. (Not
counting windows modules like kernel32.dll.)
To verify this, I was successfully able to copy just cygwin1.dll and
cygwin/bin/ftp.exe into a subdirectory elsewhere, and change the shell
execution path to simply ".", and the program worked.
Other binaries, like cygwin/bin/ls.exe, required a couple extra .dll's
(in this case for handling character set encodings) like cygintl-3.dll and
cygiconv-2.dll
A more complex program like cygwin/bin/wget.exe still had minimal
and reasonable dependencies: character set handling and crypto
libraries:
cygwin1.dll, cygintl-3.dll, cygiconv-2.dll, cygcrypto-0.9.8.dll, cygssl-0.9.8.dll
So it appears the cygwin folks have done a nice job at avoiding
dependency bloat.
[1]
http://www.dependencywalker.com/
Regards,
Bill