title: MinGW "The procedure entry point libiconv could not be located ..."
body: <p>I've got a standard C library that compiles just fine on Mac OS X using gcc.</p>
  
  <p>I've examined the C compilers available for Windows, and choose MinGW for a couple reasons: </p>
  
  <ul>
  <li>MS's tools don't support C99</li>
  <li>Cygwin et. al. adds an extra level of complexity with the posix emulation that I don't want</li>
  <li>Can't get lcc-win32 to work</li>
  </ul>
  
  <p>But, when I try to build my library, I'm getting this: </p>
  
  <p><img src="https://i.stack.imgur.com/4G5S1.png" alt="enter image description here"></p>
  
  <p>This stuff all seems very archaic, and there are practically no decent resources online that I can find. </p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Thanks.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>It doesn't matter what I'm trying to build. Even if I just make a single file with a function that adds two numbers. It crashes. Doesn't seem to have anything to do with the source code or the options passed to gcc at all. I think this is a problem with my MinGW setup and not with my project.</p>