[python-win32] Building extensions with non-MSVC compilers

Niki Spahiev niki at vintech.bg
Mon Nov 1 12:31:56 CET 2004


David Rushby wrote:

> It's worth noting that the "free" command-line version of MSVC 7.1
> (http://msdn.microsoft.com/visualc/vctoolkit2003/ ) can be made to
> compile and link both C and C++ extensions with Python 2.4, if you're
> willing to go to a lot of trouble:
>   - Downloading and installing the .NET 1.1 runtime and .NET SDK.
>   - Downloading and installing the huge Windows Platform SDK, which has
> a particularly annoying through-the-web, IE-only installer (this can be
> circumvented and the files saved for offline installation).
>   - Overriding distutils' insistence that the full version of VStudio
> 2003 be installed.
>   - Using the msvcrt.lib from the Platform SDK (msvcrt.lib is not
> included with the command-line version of MSVC 7.1).

I was unable to find msvcrt.lib in Platform SDK, maybe its in .NET SDK?

>   - Generating msvcprt.lib on the basis of msvcp71.dll (msvcprt.lib is
> also not included with the command-line version of MSVC 7.1).

This one too?

Niki Spahiev



More information about the Python-win32 mailing list