title: Cygwin1.dll 'not found' when running a program written in C. How can I make Windows find it?
body: <p>So I'm trying to run my first hello world prog written in C. I compiled it in eclipse and get no errors, but when I try to run it I get:</p>
  
  <p>"This application has failed to start because cygwin1.dll was not found."</p>
  
  <p>I found <a href="http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg08271.html" rel="noreferrer">this post</a> which seems to indicate I should add it to Windows PATH, and I used <a href="http://www.computerhope.com/issues/ch000549.htm" rel="noreferrer">this</a> to do that. So now "Path" in my environment variables has ";C:\cygwin\bin\cygwin1.dll" appended to the end. Still no worky. Anyone have a clue what I might be doing wrong? My 'program' just looks like this: </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  main()
  {
      printf("hello, world\n");
  }
  </code></pre>