1 Sep
2009
1 Sep
'09
7:20 a.m.
On Mon, Aug 31, 2009 at 6:22 PM, Philippe Fremy
Could someone give me a hint on how to compile boost.python with mingw or tell me if it's impossible ?
It is definitely possible. For linking with the Python Runtime library, you'll need a mingw compatible libpython25.a file. Since the Python you've installed is compiled using MSVC, it will have only the MSVC .lib library file. So you need to create your own libpython25.a file and link to it, and it would work. Look at the step 2 here: http://sebsauvage.net/python/mingw.html to see how to make your own .a file. The page is slightly outdated, but the procedure remains the same. Just make the required changes in the file names. Hope this helps.