Dulwich C extensions and stand-alone Windows installation of bzr

Alexander Belchenko bialix at ukr.net
Mon Sep 12 09:17:36 UTC 2011


Eli Zaretskii пишет:
>> From: Martin Pool <mbp at canonical.com>
>> Date: Mon, 12 Sep 2011 12:54:09 +1000
>> Cc: John Meinel <john at arbash-meinel.com>, bazaar at lists.canonical.com, stephen at xemacs.org
>>
>> What actually goes wrong when you try to make a DLL in the 'normal'
>> way?
> 
> I didn't try because I don't know how to do that in this specific
> case: what compiler switches to use, which libraries to link against,
> and (last, but not least) where to place the resulting DLL.  There
> isn't a word about that in the dulwich distro, only a Makefile where I
> found that it invokes setup.py, which in turn invokes some magic in a
> Python module I don't have (distutils).
> 
> If someone could run this on Unix or GNU system and tell me what was
> the GCC command line run by setup.py, that would be a huge step
> forward.

Usually all you need is to run the following command:

python setup.py build_ext -c mingw32

And you don't have to have proprietary compiler.

HTH




More information about the bazaar mailing list