aboutsummaryrefslogtreecommitdiff
path: root/winsup/doc
diff options
context:
space:
mode:
authorDavid Starks-Browning <starksb@ebi.ac.uk>2000-09-14 15:58:56 +0000
committerDavid Starks-Browning <starksb@ebi.ac.uk>2000-09-14 15:58:56 +0000
commitcdfeaeb823db105ca8d23647da4eaf6fee224d0c (patch)
treeb6f85ac348200290de2bf02e2de1a8f8a456e16c /winsup/doc
parent847647e95c69cdead41204cc9749b93e1e6a983a (diff)
downloadnewlib-cdfeaeb823db105ca8d23647da4eaf6fee224d0c.zip
newlib-cdfeaeb823db105ca8d23647da4eaf6fee224d0c.tar.gz
newlib-cdfeaeb823db105ca8d23647da4eaf6fee224d0c.tar.bz2
Update entry "How can I find out which dlls are needed by an executable?"
including information about cygcheck.
Diffstat (limited to 'winsup/doc')
-rw-r--r--winsup/doc/how-programming.texinfo18
1 files changed, 15 insertions, 3 deletions
diff --git a/winsup/doc/how-programming.texinfo b/winsup/doc/how-programming.texinfo
index d5b865a..fe20ddd 100644
--- a/winsup/doc/how-programming.texinfo
+++ b/winsup/doc/how-programming.texinfo
@@ -241,10 +241,22 @@ gcc as:
@subsection How can I find out which dlls are needed by an executable?
-@strong{(Please note: This section has not yet been updated for the latest
-net release.)}
+@samp{objdump -p} provides this information, but is rather verbose.
+
+@samp{cygcheck} will do this much more concisely, provided the command
+is in your path.
+
+Note there is currently a bug in cygcheck in that it will not report
+on a program in a Windows system dir (e.g., C:\Windows or C:\WINNT) even
+if it's in your path. To work around this, supply the full Win32 path
+to the executable, including the .exe extension:
+
+@example
+cygcheck c:\\winnt\\system32\\cmd.exe
+@end example
-objdump -p provides this information.
+(Note the windows path separator must be escaped if this is typed in
+bash.)
@subsection How do I build a DLL?