views:

17

answers:

0

I'm writing a python wrapper for an old proprietary system with header files, a .lib and some .dlls available to me on Windows. The library that is referenced is in .lib format (header files have references to Borland C & MSC)

I've attempted to convert the .lib to a .a file with pexports -- it complains about not being able to load PE image and with reimp (from MinGW utilities), which can't read the format either.

Is there a way for me to reference this .lib or convert it to a .a file so that my wrapper will actually compile?