fijal/jitpy

jitpy on win7 32 bits raising a link error

Opened this issue · 0 comments

Visual Studio link.exe is raising an error with exit status 1181

I had to change some code on https://github.com/fijal/jitpy/blob/master/jitpy/__init__.py#L41:

    if not pypy_home.join('libpypy-c.so').check():
        libdir = pypy_home.join('bin')
        if not libdir.join('libpypy-c.so').check():
            libdir = pypy_home.join('pypy', 'goal')
            if not libdir.join('libpypy-c.so').check():
                raise Exception("Can't find libpypy-c.so, point PYPY_HOME to "
                                "directory with libpypy-c.so")

where I think libpypy-c.so should be libpypy-c.dll for the windows case.

After that I get an error on https://github.com/fijal/jitpy/blob/master/jitpy/__init__.py#L55

ffi.verify(...) would need another parameters for windows?

Maybe I'm wrong as I'm far of a good knowledge of c and compilers.

Kind regards.