reimp is a tool to convert Microsoft's
new-style (short) import libraries to import libraries for the
Win32 ports of GNU tools (MinGW, Cygwin).
reimp reads an MS import library and writes all
imports to the corresponding .DEF file(s) that it feeds to
dlltool that creates the import library.
reimp also attempts to write to the current
directory every static member that is found.
It was originally made by Anders Norlander. I've fixed a problem with members with non-aligned size and in the static members extraction. Thanks to Wu Yongwei for helping me debug this.
reimp is now part of mingw-utils.