Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-23 Thread Ray Donnelly
Me neither, but it's fairly high on my priorities list to try to get more of these patches merged. On Sat, Mar 23, 2013 at 6:14 PM, Ruben Van Boxem wrote: > Op 23 mrt. 2013 19:11 schreef "NightStrike" het > volgende: > > >> >> On Thu, Mar 14, 2013 at 9:37 PM, Ray Donnelly >> wrote: >> > Hi Rube

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-23 Thread Ruben Van Boxem
Op 23 mrt. 2013 19:11 schreef "NightStrike" het volgende: > > On Thu, Mar 14, 2013 at 9:37 PM, Ray Donnelly wrote: > > Hi Ruben. > > > > It would be great to have recruit you to the cause to get these merged. My > > experience in that regard has been a bit frustrating. I think the patches > > are

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-23 Thread NightStrike
On Thu, Mar 14, 2013 at 8:00 PM, Theuns Heydenrych wrote: > Hi sorry, i made references in the previous mail, to line numbers here is > the pastebin link to the cygwinccompiler.py http://pastebin.com/jucBgjpQ > One other thing , i configure Sip with > python configure.py DEFINES+=MS_WIN64 -p win32

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-23 Thread NightStrike
On Thu, Mar 14, 2013 at 9:37 PM, Ray Donnelly wrote: > Hi Ruben. > > It would be great to have recruit you to the cause to get these merged. My > experience in that regard has been a bit frustrating. I think the patches > are split up reasonably, except for the huge ones from Roumen Petrov. Due to

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-15 Thread Václav Šmilauer
One other thing , i configure Sip with /python configure.py DEFINES+=MS_WIN64 -p win32-g++/ Does it change something? For me it works without MS_WIN64. (I am glad I compiled everything I needed, only occasionally rebooting to windows for a build; so I don't feel like experimenting with such

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-15 Thread Václav Šmilauer
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 p

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-15 Thread Alexpux
I think it would be great if patches will be merged in Python tree and we can build Python with mingw without this big list of patches. I can help with splitting too some later when finish some work on MSYS2. 15.03.2013, в 11:37, Ray Donnelly написал(а): > Hi Ruben. > > It would be great to

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-15 Thread Ray Donnelly
Hi Ruben. It would be great to have recruit you to the cause to get these merged. My experience in that regard has been a bit frustrating. I think the patches are split up reasonably, except for the huge ones from Roumen Petrov. Due to Alexey's mingwbuilds efforts, Qt 5.0.1 use this Python for the

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Theuns Heydenrych
Hi sorry, i made references in the previous mail, to line numbers here is the pastebin link to the cygwinccompiler.py http://pastebin.com/jucBgjpQ One other thing , i configure Sip with *python configure.py DEFINES+=MS_WIN64 -p win32-g++* * * Regards On Thu, Mar 14, 2013 at 5:19 PM, Václav Šmilau

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Theuns Heydenrych
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

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Alexpux
14.03.2013, в 19:41, Алексей Павлов написал(а): > Yes this is Ray's patches and they works well. I add them to mingw-builds > project for future use when released gdb with Python3 support. > > Oh, gdb has Python3 support, does it? I'll have to take a look at that then > :) > > Ruben > > Ye

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Алексей Павлов
> > Yes this is Ray's patches and they works well. I add them to mingw-builds >> project for future use when released gdb with Python3 support. >> > > Oh, gdb has Python3 support, does it? I'll have to take a look at that > then :) > > Ruben > > Yes GDB from CVS has support for Python3. But GDB-7.5

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Ruben Van Boxem
2013/3/14 Alexpux > > 14.03.2013, в 19:27, Ruben Van Boxem > написал(а): > > Never mind, I found these: > > https://github.com/niXman/mingw-builds/tree/master/patches/Python-3.3.0 > > Yes this is Ray's patches and they works well. I add them to mingw-builds > project for future use when released

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Alexpux
14.03.2013, в 19:27, Ruben Van Boxem написал(а): > Never mind, I found these: > > https://github.com/niXman/mingw-builds/tree/master/patches/Python-3.3.0 > Yes this is Ray's patches and they works well. I add them to mingw-builds project for future use when released gdb with Python3 support.

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Ruben Van Boxem
Never mind, I found these: https://github.com/niXman/mingw-builds/tree/master/patches/Python-3.3.0 I'll see if I can get these sorted out and stir the Python devs :) Ruben 2013/3/14 Ruben Van Boxem > 2013/3/13 Ray Donnelly > >> You could use my Python if you want: >> >> https://mingw-and-nd

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Ruben Van Boxem
2013/3/13 Ray Donnelly > You could use my Python if you want: > > https://mingw-and-ndk.googlecode.com/files/python-2.7.3-win64.7z > https://mingw-and-ndk.googlecode.com/files/python-2.7.3-win32.7z > > They were compiled using MinGW-w64 compilers. The mingwbuilds project > also includes Python bi

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Václav Šmilauer
Thank You for all the information, it really helped a lot. But still things don't work correctly. I had a good look at your shell script "build-all.sh" I installed Python 2.7.3 64bit manually and applied the patch for python I Compiled Sip 4.14.3 and install it. I Compiled PyQt-win-gpl-4.9.6 an

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Václav Šmilauer
> 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. >

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-14 Thread Ray Donnelly
In case anyone (else) cares I needed to make some minor changes (attached) for compiling sip with my MinGW-w64 64bit Python: To build: cd /tmp wget -c http://garr.dl.sourceforge.net/project/pyqt/sip/sip-4.14.4/sip-4.14.4.zip unzip sip-4.14.4.zip cd sip-4.14.4 patch -p1 < /c/sip-4.14.4-mingw-pyth

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-13 Thread Theuns Heydenrych
HI Ray I have run *bin/python-config.sh --cflags*, then *python configure.py -p win32-g++ *then* mingw32-make ,* the result is the same, as the previous mail Sorry but what do you mean by "You'll need to adjust the include paths" ? Is the include path *-IC:\Python27\include\python2.7 *wrong*?* I

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-13 Thread Ray Donnelly
Your cflags are wrong. Please run bin/python-config.sh --cflags (or bin/python-config). You'll need to adjust the include paths. In this instance, you are missing __USE_MINGW_ANSI_STDIO. On Wed, Mar 13, 2013 at 1:03 PM, Theuns Heydenrych wrote: > Ray, Thanks for the downloads. > When Compiling S

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-13 Thread Theuns Heydenrych
Ray, Thanks for the downloads. When Compiling Sip i get the following error. *C:\dev\sip-4.14.3>mingw32-make * *mingw32-make[1]: Entering directory 'C:/dev/sip-4.14.3/sipgen'* *makefile:29: warning: overriding recipe for target '.c.o'* *makefile:26: warning: ignoring old recipe for target '.c.o'*

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-13 Thread Theuns Heydenrych
Great , thanks i will give it a try. Much obliged. On Wed, Mar 13, 2013 at 2:33 PM, Ray Donnelly wrote: > You could use my Python if you want: > > https://mingw-and-ndk.googlecode.com/files/python-2.7.3-win64.7z > https://mingw-and-ndk.googlecode.com/files/python-2.7.3-win32.7z > > They were com

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-13 Thread Ray Donnelly
You could use my Python if you want: https://mingw-and-ndk.googlecode.com/files/python-2.7.3-win64.7z https://mingw-and-ndk.googlecode.com/files/python-2.7.3-win32.7z They were compiled using MinGW-w64 compilers. The mingwbuilds project also includes Python binaries built from the same patches.

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-13 Thread Theuns Heydenrych
I feel that i am very near the point that it will work, but don't know what else to do. Any other suggestions? On Wed, Mar 13, 2013 at 9:52 AM, Václav Šmilauer wrote: > On 13/03/13 07:17, Theuns Heydenrych wrote: > > Hi, I know this is not a Python mailing list, but i am desperate. > > Someone

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-13 Thread Theuns Heydenrych
Thank You for all the information, it really helped a lot. But still things don't work correctly. I had a good look at your shell script "build-all.sh" I installed Python 2.7.3 64bit manually and applied the patch for python I Compiled Sip 4.14.3 and install it. I Compiled PyQt-win-gpl-4.9.6 and i

Re: [Mingw-w64-public] Using Python and Mingw64

2013-03-13 Thread Václav Šmilauer
On 13/03/13 07:17, Theuns Heydenrych wrote: > Hi, I know this is not a Python mailing list, but i am desperate. > Someone in StackOverflow > I am compiling Sip and PyQt from source using Mingw64 and Python 2.7.3 > 64bit. > Python binaries is installed via downloaded installer, and is build > with

[Mingw-w64-public] Using Python and Mingw64

2013-03-12 Thread Theuns Heydenrych
Hi, I know this is not a Python mailing list, but i am desperate. Someone in StackOverflow I am compiling Sip and PyQt from source using Mingw64 and Python 2.7.3 64bit. Python binaries is installed via downloaded installer, and is build with MSVC. I went through the exercise of making a libpython27