title: Compile .c files to .pyd
body: <p>I used Cython to convert a <code>.pyx</code> file to <code>.c</code>. Now, I'm trying to compile it to <code>.pyd</code>, using the <code>tcc</code> compiler:</p>
  
  <pre><code>C:\Users\USER&gt;"C:\Program Files\tcc\tcc.exe" tkExtra.c -o tkExtra.pyd -
  shared -IC\Python27\include -LC\Python27\libs -lpython27
  </code></pre>
  
  <p>However, I get this error:</p>
  
  <pre><code>tkExtra.c:8: error: include file 'pyconfig.h' not found
  </code></pre>
  
  <p><code>C:\Python27\include</code> does have <code>pyconfig.h</code>. I had looked at <a href="https://stackoverflow.com/a/6987419/1730261">this answer</a> to get the command line code for this, only substituting <code>gcc</code> with <code>tcc</code>.</p>
  
  <p>How can I fix this, or is there a better way to do this?</p>