Re: [Mingw-w64-public] ./configure - and mingw-w64 confusion
On Sat, Aug 8, 2015 at 8:37 PM, Duane Ellis du...@duaneellis.com wrote: It's built from this project (and branch, be careful to not use master!) on github: https://github.com/Alexpux/mingw-builds/tree/develop but as I say, you want canadian cross, and well, I'll not repeat what I wrote before, I'd just encourage you to read it carefully. Actually Python just needs to be cross compiled in this case. It might work from mingw-builds, but likely not. That is _THE_ problem, python generally *blocks* all cross compilation the example is here: https://github.com/python/cpython/blob/master/configure.ac#L377 Where the “configure” script specifically blocks this. yea, I could undo this - and let this pass - but they have or had a very specific reason to block this I don’t know what that reason is, could it be “it will not work - thus we block it Or “I don’t know if it will - so we block it” There is no indication behind the reasoning. CPython can't be compiled to run on Windows using anything other than MSVC without *major* changes. You could undo this first stumbling block that you ran into but then you'd need to fix the 80-odd other things that you'll run into after that which we've fixed up at: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python2 https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3 -Duane. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] ./configure - and mingw-w64 confusion
HI, My ultimate goal is to build a number of “python enabled” instances of GDB that run on Windows. (ie: ARM, MIPS, and a few other core types) I have a candian-cross setup on my linux box, it works great for everything but the “python enablement” step. Reason: Python is specifically not supported in a candian cross, the *only* configuration is Linux and Cygwin Canadian crosses That blocks me :-( pretty hard From what I see, Mingw-w64 has an instance of Python *AND* a Python Enabled GDB And I think I can build what I need - however - I’m confused about what mingw-64 is. My question is this: Where is the BASH shell for MingW-W64? How do I do a “./configure” to setup GDB? Where can I get a bit more detail about this? Thanks. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] ./configure - and mingw-w64 confusion
On Sat, Aug 8, 2015 at 6:22 PM, Duane Ellis du...@duaneellis.com wrote: HI, My ultimate goal is to build a number of “python enabled” instances of GDB that run on Windows. (ie: ARM, MIPS, and a few other core types) I have a candian-cross setup on my linux box, it works great for everything but the “python enablement” step. Reason: Python is specifically not supported in a candian cross, the *only* configuration is Linux and Cygwin Canadian crosses It's worse than that: CPython can't be built to run on Windows using any compilers other than MSVC and CPython don't seem to be very interested in changing that, or accepting patches from people who are. That blocks me :-( pretty hard From what I see, Mingw-w64 has an instance of Python *AND* a Python Enabled GDB And I think I can build what I need - however - I’m confused about what mingw-64 is. MinGW-w64 doesn't have an instance of Python or an instance of a Python Enabled GDB since MinGW-w64 is a source-only project, more-or less. I assume the builds you are talking about are the semi-official mingw-builds ones, as they come with those things. That porting job was something I initially did for the Google Android NDK (using patches from Roumen Petrov as a base) and that Alexey Pavlov and I worked on for mingw-builds. We continue to maintain the patches in the MSYS2 project. My question is this: Where is the BASH shell for MingW-W64? There isn't one. The closest you'll come is MSYS2, but that's for Windows, not GNU/Linux. Wine-staging can run and build a fair amount of MSYS2 now-a-days thanks to the dedicated efforts of Qian Hong and other wine-staging developers. How do I do a “./configure” to setup GDB? The Windows Google Android NDK is built cross-canadian on GNU/Linux. If you download the NDK and look at the build scripts you should be able to get something going. The version of Python in the NDK is a lot older than the ones in mingw-builds and in MSYS2 (2.7.5 I think, it's been ages since I looked at the NDK). We don't build MSYS2's mingw-w64-python* packages cross-canadian either, but the patches have a heritage going back to the NDK so there shouldn't be too many problems in using our latest Python patches in that scenario. The latest patches can be found at: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python2 https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3 Where can I get a bit more detail about this? You can find me on #msys2 if you need any help with this. Thanks. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] ./configure - and mingw-w64 confusion
Hey Duane, On Sun, Aug 9, 2015 at 1:52 AM, Ray Donnelly mingw.andr...@gmail.com wrote: My question is this: Where is the BASH shell for MingW-W64? There isn't one. The closest you'll come is MSYS2, but that's for Windows, not GNU/Linux. Wine-staging can run and build a fair amount of MSYS2 now-a-days thanks to the dedicated efforts of Qian Hong and other wine-staging developers. I'm monitoring the MinGW-w64 mailing list and happen to see this conversation. Thanks Ray for introducing our work on supporting MSYS2 on wine-staging. Currently it is far from perfect, a status overview could be found here: https://github.com/fracting/wine-fracting/wiki/MSYS2-on-Wine#build-status If anyone has any question about MSYS2 on Wine, feel free to find me on #msys2 / #mingw-w64 / #wine-staging Contributors are also great welcome :) Have fun! -- Regards, Qian Hong - http://www.winehq.org -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] ./configure - and mingw-w64 confusion
On Sat, Aug 8, 2015 at 7:18 PM, Duane Ellis du...@duaneellis.com wrote: Thanks for the quick reply. MinGW-w64 doesn't have an instance of Python or an instance of a Python Enabled GDB since MinGW-w64 is a source-only project, more-or less. I assume the builds you are talking about are the semi-official mingw-builds ones, as they come with those things. That porting job was something I initially did for the Google Android NDK (using patches from Roumen Petrov as a base) and that Alexey Pavlov and I worked on for mingw-builds. We continue to maintain the patches in the MSYS2 project. Hmm - the main MingW-64 page pointed me to: This: http://www.mingw-w64.org/doku.php/download Picking the MingW-Builds: http://www.mingw-w64.org/doku.php/download/mingw-builds Which points to: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/ http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download That file was updated only a few days ago. This has Python, and a PY enabled version of GDB - what I am trying to do is reproduce that … But with a number of “cross compilation” tools for arm, mips, aver, etc It's built from this project (and branch, be careful to not use master!) on github: https://github.com/Alexpux/mingw-builds/tree/develop but as I say, you want canadian cross, and well, I'll not repeat what I wrote before, I'd just encourage you to read it carefully. How is that build created? -Duane. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] ./configure - and mingw-w64 confusion
On Sat, Aug 8, 2015 at 7:35 PM, Ray Donnelly mingw.andr...@gmail.com wrote: On Sat, Aug 8, 2015 at 7:18 PM, Duane Ellis du...@duaneellis.com wrote: Thanks for the quick reply. MinGW-w64 doesn't have an instance of Python or an instance of a Python Enabled GDB since MinGW-w64 is a source-only project, more-or less. I assume the builds you are talking about are the semi-official mingw-builds ones, as they come with those things. That porting job was something I initially did for the Google Android NDK (using patches from Roumen Petrov as a base) and that Alexey Pavlov and I worked on for mingw-builds. We continue to maintain the patches in the MSYS2 project. Hmm - the main MingW-64 page pointed me to: This: http://www.mingw-w64.org/doku.php/download Picking the MingW-Builds: http://www.mingw-w64.org/doku.php/download/mingw-builds Which points to: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/ http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download That file was updated only a few days ago. This has Python, and a PY enabled version of GDB - what I am trying to do is reproduce that … But with a number of “cross compilation” tools for arm, mips, aver, etc It's built from this project (and branch, be careful to not use master!) on github: https://github.com/Alexpux/mingw-builds/tree/develop but as I say, you want canadian cross, and well, I'll not repeat what I wrote before, I'd just encourage you to read it carefully. Actually Python just needs to be cross compiled in this case. It might work from mingw-builds, but likely not. How is that build created? -Duane. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] ./configure - and mingw-w64 confusion
It's built from this project (and branch, be careful to not use master!) on github: https://github.com/Alexpux/mingw-builds/tree/develop but as I say, you want canadian cross, and well, I'll not repeat what I wrote before, I'd just encourage you to read it carefully. Actually Python just needs to be cross compiled in this case. It might work from mingw-builds, but likely not. That is _THE_ problem, python generally *blocks* all cross compilation the example is here: https://github.com/python/cpython/blob/master/configure.ac#L377 https://github.com/python/cpython/blob/master/configure.ac#L377 Where the “configure” script specifically blocks this. yea, I could undo this - and let this pass - but they have or had a very specific reason to block this I don’t know what that reason is, could it be “it will not work - thus we block it Or “I don’t know if it will - so we block it” There is no indication behind the reasoning. -Duane. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public