pexports is provided in the MinGW Utilities package, mingw-utils. If your dll has functions that use the Pascal calling convention, you'll need to use the-o
option.
hello.dll is our dll where we want to make a ".a" for.
pexports -o hello.dll > hello2.def
dlltool --def hello2.def --dllname hello.dll --output-lib libhello2.a
No comments:
Post a Comment