δΊ 2012/9/15 23:44, Ray Donnelly ει: > In the Google NDK git repo: > > https://android-review.googlesource.com/#/c/39651/ > > build/tools/toolchain-patches/gdb/0007-find-python.patch > > Now that I re-read it, it's all about setting PYTHONHOME env var; the > dll is of course found by being in the same folder as gdb.exe (and > differently named from CPython's one). > > For determining PYTHONHOME it expects a certain relative layout but > also does some searching (I wanted to be a bit defensive in case the > install prefix got modified). > > Did you try to build Python yet using > https://dl.dropbox.com/u/17108768/crucifixion-freedom.7z ? > > Cheers, > > Ray. I use another patch to make python built by mingw two years ago : http://bugs.python.org/file19587/python-2.7-20101112-MINGW.patch
But why not to use official python dll? There is no problem. > > On Sat, Sep 15, 2012 at 4:29 PM, niXman <[email protected]> wrote: >> 2012/9/15 Ray Donnelly: >>> I explicitly set my path at the top of main in my gdb so that it finds >>> my Python every time. It's never failed. I also renamed python27.dll >>> to python2.7.dll to make sure that dll hell doesn't bite me. >> Hi, >> >> Where can I find this patch? ;) >> Thank tou! >> >> >> -- >> Regards, >> niXman >> -- Best Regards, xunxun ------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
