[pypy-dev] Windows Testing

Amaury Forgeot d'Arc amauryfa at gmail.com
Thu May 15 10:36:06 CEST 2008


Hello,

Michael Schneider wrote:
> Amaury
>
>
> I think the python version of libffi is a good starting point for windows.
> It seems to be one of the few versions with windows support.
>
> When you are successful, let me know, and I can copy .lib .dll and headers
> up to the windows build slave.

The "cpython version of libffi" is not a library: it's a collection of
7 sources, that
do not form a library: some important symbols are missing (they are
defined in ctypes.c)
and there is even a reference to Py_FatalError()...
I had to copy the missing externals in another file.

And there is the problem of the versions of the msvc compiler.
Debugging libffi is fun, especially when run on top of ctypes...
But I prefer that everything uses the same compiler and options, so
building from source is better.
It's small: 1540 lines of code.

If nobody objects, I will add (a slightly modified version of) the
needed files in
translator/c/src/libffi_msvc.

-- 
Amaury Forgeot d'Arc



More information about the Pypy-dev mailing list