The "reimp" utility generates (among others) an export
file that start with the line:
Unfortunately, when the name contains characters like
digits (for version numbers for example), the "dlltool"
does not accept the file. The name should be quoted
to alleviate this problem, as in:
The fix is very easy, just replace line 238 of the
> fprintf (df->f, "LIBRARY %s\nEXPORTS\n", dll);
> fprintf (df->f, "LIBRARY \"%s\"\nEXPORTS\n", dll);
For convenience, I have attached the
new "reimp/reimp.c" that has been modified from
the mingw-utils-0.2 distribution.
All the best,
-- Daan Leijen.