Hi John, Not sure you'll be interested but I build my own version of Python into some Android NDKs, and this Python is cross compilable/compiled. >From a Linux box, 12 variants can be built (Windows, Mac, Linux) * (x86, x86_64) * (2.7.3, 3.3.0b1). Native shouldn't be much of a stretch too but it's not something I've tried. Here are the some 2.7.3 Windows builds I made.
http://mingw-and-ndk.googlecode.com/files/python-2.7.3-windows-x86.7z http://mingw-and-ndk.googlecode.com/files/python-2.7.3-windows-x86_64.7z As these were built specifically for GDB, part of my changes are to output a shell script (bin/python-config.sh) the path to which can be passed in as --with-python= ... with one caveat, you should modify in that script the bit that says: prefix="/tmp/cr-build/install/windows-x86_64/python-2.7.3" to mirror where you extracted it to. The sources for this project are currently on my Dropbox (as I'm not 100% ready to release - e.g. I'd want to update from 3.3.0b1 to a non-beta and also make tcl/tk work for Idle first): https://dl.dropbox.com/u/17108768/crucifixion-freedom.7z Cheers, Ray. On Sat, Sep 15, 2012 at 4:32 AM, John E. / TDM <[email protected]> wrote: > 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? > > 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
