Re: Compiling ctypes (and Python) for Windows Itanium
"Nelson, Christopher" <[email protected]>
| Newsgroups | gmane.comp.python.ctypes |
|---|---|
| Message-ID | <0A99F47C46D08E478EA3CD692BD030E27C442B09B5@GVW1096EXB.americas.hpqcorp.net> |
Yes. I wrote the IA64 assembly needed to make this work on WIndows, and I contributed it to the ctypes project. This was for Python 2.4 on Windows, but I see no reason why it shouldn't work for 2.6. ________________________________ From: Guy Rozendorn [mailto:[email protected]] Sent: Tuesday, January 26, 2010 2:16 PM To: [email protected] Subject: [ctypes-users] Compiling ctypes (and Python) for Windows Itanium Hi all, I am trying to build Python 2.6 for Windows Itanium. I have the IA64 MSVC compiler set up, and so far I managed to build the entire Python PCBuild project, except for ctypes. The project of course does not build on its own for IA64 on Windows, since its missing the appropriate assembly for the libffi part. Since we're not familiar at all with itanium assembly, we tried to workaround it: * We looked at the existing windows linux assemblies in the project, and tried to understand what they do * We wrote some in C that should do pretty much the same, and compiled ctypes with that * It compiled without a too much hassle, but it didn't work out (python crashes when using ctypes on itanium) So, my questions are: * Does someone successfully compiled ctypes for Windows IA64? Or have another lead for us? * It looks like that a compiler wrote the linux-ia64 assembly, and not a human being. But we didn't find the original C code of that in the project. We hope that if we find the original C code, we can hack it a bit to also compile and work on windows-ia64. o Does someone know who the linux-ia64 assembly code was generated? From which source? And who wrote it? Any help would be greatly appreciated! Thanks, - Guy ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ ctypes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ctypes-users