[Python-Dev] Python 2.4, MS .NET 1.1 and distutils

M.-A. Lemburg mal at egenix.com
Fri Nov 26 18:07:45 CET 2004


Thomas Heller wrote:
> Ronald Oussoren <ronaldoussoren at mac.com> writes:
> 
> 
>>On 26-nov-04, at 17:27, Martin v. Löwis wrote:
>>
>>
>>>M.-A. Lemburg wrote:
>>>
>>>>Now since extensions for 2.4 will have to be built using the
>>>>same compiler as Python itself (the one that comes with VC7.1
>>>>which is the same as the one in the freely downloadable
>>>>.NET 1.1 SDK)
>>>
>>>My understanding is that these are not exactly the same compilers;
>>>I recall that the freely-redistributable one lacks support for
>>>optimization.
>>
>>That's not what their download page says:
>>
>><quote href="http://msdn.microsoft.com/visualc/vctoolkit2003/">
>>Microsoft Visual C++ Toolkit 2003
>>
>>  The Microsoft Visual C++ Toolkit 2003 includes the core tools
>>  developers need to compile and link C++-based applications for
>>  Windows and the .NET Common Language Runtime:
>>
>>	• 	Microsoft C/C++ Optimizing Compiler and Linker.  These
>>	are the same compiler and linker that ship with Visual Studio
>>	.NET 2003 Professional!
>></quote>

The compiler works happily with the optimization flags...

> Wasn't the difference that no msvcrt import libraries are included,
> neither the license to redistribute the msvcrt runtime dlls (although
> the missing license probably doesn't matter, because they are already in
> the Python distribution)?

... and links again MSVCRT.LIB which is included in .NET 1.1.

The DLLs come with the .NET framework, so there's no need to
redistribute them.

Anyway, the point is not creating binaries that you distribute,
but simply to be able to compile extensions yourself as necessary.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Nov 26 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the Python-Dev mailing list