delorie.com/archives/browse.cgi | search |
From: | tvoverbe AT wk DOT estec DOT esa DOT nl (Ton van Overbeek) |
Subject: | dlltool does not like .def files starting with 'LIBRARY <lib-name>' |
7 Jul 1997 08:37:27 -0700 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <9707071509.AA08649.cygnus.gnu-win32@wk.estec.esa.nl> |
Original-To: | gnu-win32 AT cygnus DOT com |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
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 AT wk DOT estec DOT esa DOT nl - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |