ok, i just want to confirm.

I patched the cygwinccompiler.py file to *return ['msvcr90'] *(line 77)
when *get_msvcr()* is called.
So if a build the Sip.pyd with mingw, and inspect the result in
DendencyWalker I should see that Sip.pyd depended on MSVCR90 and
not MSVCRTL ?
Because after the patches and a rebuild Sip is still build with MSVCRTL, it
does not feel right, considering all the patches made?

I have noticed that further down the file it looks like Mingw32CCompiler
class is commented out, should it be like this?
on line 343 *# class Mingw32CCompiler*

Also line 339 looked like this
*self.dll_libraries = [] # get_msvcr()*
I changed it to this
*self.dll_libraries = get_msvcr()*
Is it correct?

And regarding the pydistutils.cfg file, will it also be automatically
picked up when building Sip.pyd?
At the moment the pydistutils.cfg file is located in the MSys/home/user
folder, is this correct or should it be some C:\Python2.7 folder?

One last thing, how do i know python is using the Mingw32CCompiler class,
is there somehow i can debug/output, to confirm it does use this class?

Thanks for all the help, it is much appreciated

Regards








On Thu, Mar 14, 2013 at 5:19 PM, Václav Šmilauer <[email protected]> wrote:

>
> > I went through the build-all.sh script in detail, to be found in the
> > attchement of
> > http://permalink.gmane.org/gmane.comp.gnu.mingw.w64.general/6511
> > I also looked at the python patches, i had to patch the files manually.
> >
> > In the build-all.sh script a pydistutils.cfg file is created.
> > How is this used ?
> That file is picked up automatically by distutils, so that whenever you
> run (for example) easy_install, it will use mingw rather than msvc
> (which is the platform's default). Otherwise, you'd have to specify that
> manually every time.
>
> HTH, Vaclav
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to