Compile python with Mingw

iwinux iwinux at gmail.com
Fri Jul 27 09:14:11 EDT 2007


fdu.xiaojf at gmail.com 写道:
> Hi all,
> 
> 
> I was trying to build pymol with mingw on my windows box, but during the
> compilation it said that my python.exe was built with VS2003, and in
> order to build compatible binary executable file, I have to build pymol
> with VS2003. I don't have VS2003, so I think I may compile both pymol
> and python with mingw.
> 
> Can somebody give me some hints on how to build python with mingw? I
> have googled the web, and it seems that few people have tried mingw
> with python. I have found mingwpython, but it's not for python 2.5.
> 
> Thanks.
To build python with mingw, there is a common way.
First you should install msys, which can be downloaded from mingw's website.
Run msys and type 'cd /path/to/source'.
Then type "./configure & make & make install".
And you will get a python built with mingw.



More information about the Python-list mailing list