title: Link to Python with MinGW
body: <p>I wan't want to create a cross-plattform programm that embedds the python interpreter, and compile it with MinGW. But the Python Binary distribution provides no libraries for MinGW to link with (only <code>python32.lib</code> for Visual C++), and the Python Source package provides no support for compiling with MinGW.</p>
  
  <p>I tried linking to <code>python32.lib</code> in Mingw with <code>-lpython32</code> but it still generates errors like:</p>
  
  <pre><code>main.cpp: undefined reference to `_imp__Py_Initialize'
  main.cpp: undefined reference to `_imp__Py_Finalize'
  </code></pre>
  
  <p>How do I link Python in MinGW? I really don't want to switch to using Visual C++.</p>