This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
dlltool does not like .def files starting with 'LIBRARY <lib-name>'
- To: gnu-win32 at cygnus dot com
- Subject: dlltool does not like .def files starting with 'LIBRARY <lib-name>'
- From: tvoverbe at wk dot estec dot esa dot nl (Ton van Overbeek)
- Date: Mon, 7 Jul 97 17:09:25 +0200
While experimenting with the b18 release to build MEX files for MATLAB5
I found out that dlltool does not like the Mathworks supplied .def files.
E.g. matlab.def (in $MATLAB\extern\include) starts with:
LIBRARY matlab.exe
EXPORTS
....
Dlltool complains about the first line.
Deleting line 1 and supplying the --dllname argument to dlltool
produces the 'right' import library.
Scanning quickly through the source (cdk/binutils/defparse.y)
seems to indicate that the line 'LIBRARY matlab.exe' should be
accepted.
Is this a bug in dlltool ?
Any comments from any one ?
Ton van Overbeek, tvoverbe@wk.estec.esa.nl
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".