title: How do i find out dll dependencies of a Cygwin program?
body: <p>Given a Cygwin executable, how do i find out all the dll's that it depends upon?<br>
  For the libraries that are loaded by the system executable loader i can use a tool like <code>depends</code> (aka Dependency Walker), but i have no idea how to trace the dll's that the program tries to load dynamically with Load Library.</p>
  
  <p>My aim is to be able to take the minimal dependencies of a program built for Cygwin platform in order to make it work portable, without all the Cygwin stuff that it is never gonna use (some base command line utils, man pages etc.).</p>
  
  <p>Any help is appreciated!</p>