Open GoogleCodeExporter opened 8 years ago
I use the 4.5.2-tdm64-1 version.
Original comment by marun...@gmail.com
on 22 Apr 2011 at 5:52
[deleted comment]
I attach the 64bit installers of pyodbc for python 2.5/2.6 built by tdm64-gcc.
Original comment by marun...@gmail.com
on 22 Apr 2011 at 7:52
Attachments:
Thanks for the patches. I'll make the suggested changes (after testing, of
course), but I can't promise mingw will always build. My official stance is
that I don't support mingw since Python itself is built with Visual C++ but
I'll certainly try to keep it working.
Original comment by mkleehammer
on 20 May 2011 at 7:32
Thanks for accepting my patch.
I add the more detail build order.
1. generate python26.def for win64 using gendef.
gendef : http://sourceforge.net/projects/mingw/files/MinGW/gendef/
E:\gendef\bin>gendef.exe python26.dll
* [python26.dll] Found PE+ image
2. download and isntall tdm64-gcc from http://tdm-gcc.tdragon.net/download
3. add tdm64-gcc\bin to PATH.
4. generate libpython26.a for win64 using dlltool
E:\gendef\bin>dlltool -d python26.def -l libpython26.a
5. copy libpython26.a to [python26 win64 install path]\libs
6. clone latest pyodbc source
7. try to build pyodbc package using tdm64-gcc
python26x64.exe setup.py build_ext -c mingw32 -DMS_WIN64 build -c mingw32
bdist_wininst
Original comment by marun...@gmail.com
on 21 May 2011 at 1:39
Original issue reported on code.google.com by
marun...@gmail.com
on 22 Apr 2011 at 5:38Attachments: