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.
In ~1.5 years I've had 0 complaints of problems with Python. Vanilla is boring ;-) Cheers, Ray. On Sat, Sep 15, 2012 at 3:41 PM, Ruben Van Boxem <[email protected]> wrote: > 2012/9/15 John E. / TDM <[email protected]> > >> Hi all, >> >> Having finally gotten what may be a decent build of GCC 4.7.1, I'm >> moving on to GDB and looking at the possibility of bringing in Python >> support this time. However, I'm having trouble finding the appropriate >> headers and libraries to point GDB at for the build (x86_64-w64-mingw32 >> host, x86_64-w64-mingw32 target). >> >> >> The best thing I've found so far is a file named >> "python-x86_64-w64-mingw32.zip" within rubenvb's 4.7.1 source tarball. >> However, I'm extremely hesitant to use it because it doesn't contain any >> sources, or build instructions, for the libraries it contains. Oh, and >> if I have to download MSVC and build Python myself, forget it. >> >> Ruben, do you have any clarifying information on your source? Or does >> anyone else have notes on how to create a 64-bit Python-enabled GDB? >> > > Hi, > > These files are just the stuff needed by Python/GDB to work and build. Check > my scripts for python and gdb here: > https://github.com/rubenvb/MinGW-w64-build-scripts/tree/master/scripts > > These files are from the official Python 2.7.3 installation exetables. They > are the only official python builds available. You cannot build vanilla > Python 2.7 with MinGW. I opted for the official release to not conflict with > any existing installation users might have installed (as the python DLL will > be in PATH) > > The 32-bit files are all directly extracted from the installer exe, the > 64-bit package was missing an import libpython2.7.dll.a, which I generated > using the usual steps. I think I also renamed the libraries so the gdb build > can find it. > > If you need any more information, feel free to ask. > > Ruben > > >> >> Thanks in advance, >> John E. / TDM >> >> >> ------------------------------------------------------------------------------ >> 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 > > > > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ 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
