[texworks] Building on Windows 7

Stefan Löffler st.loeffler at gmail.com
Tue Feb 23 15:45:16 CET 2010


Hi again,

Am 2010-02-23 15:29, schrieb Casey P. Johnson:
> Incidentally, on my 64-bit machine I was receiving the following error:
>
> c:/bin/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
> c:/bin/Python26/libs/python26.lib(python26.dll): Recognised but unhandled
> machine type (0x8664) in Import Library Format archive
>
> I switched from ActivePython x64 2.6.4 to the installation provided at
> python.org (also 2.6.4) and it worked immediately. I have no idea what
> made the difference, but I thought I would put it out there in case anyone
> else comes across the same problem.
>   

My first guess would be that this is a 64-bit vs. 32-bit problem. The
name mingw32 would suggest to me that it is strictly 32-bit (BTW: at
least the lua libs are win32 files, too - there are 64-bit files, but
not for mingw). If this is true, I'm not really surprised to see it fail
with 64-bit python files.

I found that there is a MinGW-w64 project, though I'm not sure how
stable/good it is. If you want to give it a try, I should point out that
the KDE on Windows files may not work well in that case, so you'd have
to build everything yourself.

Bottom line: I think for now it's safest to stay on the 32-bit track on
Windows. Maybe this will change in the future, but then again Tw is not
so resource-intensive that it would benefit greatly from 64 bit. But I
have practically no experience with 64 bit systems, yet.

-Stefan


More information about the texworks mailing list