[fpc-pascal] Static linking to C library on Windows
genericptr at gmail.com
Wed Nov 27 21:38:23 CET 2019
Moving on to Windows now and more basic problems. I've built from Python sources again but I'm not sure about static libraries on Windows. There is a .dll which is a dynamic library and .lib which I assume is the static library. Again I link using:
But I get: "Error: Invalid DLL XXX/python37.lib, Dos header invalid".
I see the compiler found the library but I may not have made the library correctly. How can I know if this .lib is what I think it is?
More information about the fpc-pascal