If you have built a unix tool under cygwin, how do you know what DLLs are needed when you want to give someone the executable file you have built ?
cygcheck is your friend
Here we can see 3 DLLs would be needed to accompany the iperf.exe that I have built.
1: C:\temp>\cygwin\bin\cygcheck iperf-gf.exe
2: Found: iperf-gf.exe
3: iperf-gf.exe
4: c:\cygwin\bin\cygwin1.dll
5: C:\WINDOWS\system32\ADVAPI32.DLL
6: C:\WINDOWS\system32\KERNEL32.dll
7: C:\WINDOWS\system32\ntdll.dll
8: C:\WINDOWS\system32\RPCRT4.dll
9: C:\WINDOWS\system32\Secur32.dll
10: c:\cygwin\bin\cyggcc_s-1.dll
11: c:\cygwin\bin\cygstdc++-6.dll
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }
ie. cygwin1.dll, cyggcc_s-1.dll and cygstdc+-6.dll