How to install Python package from source on Windows

bartc bc at freeuk.com
Wed May 17 20:50:17 EDT 2017


On 17/05/2017 23:32, Chris Angelico wrote:
> On Thu, May 18, 2017 at 8:21 AM, bartc <bc at freeuk.com> wrote:
>> My own approach with the standard library is that I just use what is
>> provided by the OS (so msvcrt.dll or libc.so.6).
>>
>> I expect Tiny C does the same as it doesn't appear to come with any
>> libraries of its own.
>
> Well, msvcrt.dll isn't the whole thing. You need the compilation end
> of that too (header files and static libraries). Where are you going
> to get those from? Oh right. The dev version of msvcrt.dll is in....
> Visual Studio.

No. On Windows, C compilers provide their own headers.

(I build mine from looking at the C standard, from online docs such as 
msdn, and peeking at existing headers, but you can't use them directly 
as they tend to be compiler-specific.)

Library files (I assume you mean .a/.lib) are not needed as it is 
possible to link directly to shared libraries, such as msvcrt.dll.

-- 
bartc



More information about the Python-list mailing list