On 07/06/2010 06:49 PM, sturlamolden wrote: > On 6 Jul, 18:21, Thomas Jollans <tho...@jollans.com> wrote: > >> mingw gcc should work for building C++ extensions if it also works for C >> extensions. > > No, it uses an incompatible statically linked C++ runtime. We need to > use msvcp90.dll with Python 2.6/2.7.
Python is written in C. How does the C++ runtime enter into it? > >> As for amd64 - I do not know if there is a mingw64 release for windows >> already. If there isn't, there should be ;-) > > There is. But it does not have an import library for msvcr90.dll. It's > omitted from mingw-w64. Also libpython26.a is missing from Python on > Windows 64. > > >> Also, VS2010 should work as well - doesn't it? > > The problem with Microsoft's compilers is that they just let you pick > between two CRTs (single- or multi-threaded). We need to specify the > version number as well. > > So no, VS2010 will not work. (At least not without some ugly hacks.) -- http://mail.python.org/mailman/listinfo/python-list