www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/06/05:41:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37D38B56.B18A72C@hms.com.au>
Date: Mon, 06 Sep 1999 19:37:27 +1000
From: Guy Wallis <gwallis AT hms DOT com DOT au>
X-Mailer: Mozilla 4.08 [en] (Win98; I)
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: dll, lib and lib??.a

G'Day,
I'm looking for help creating a mingw32 library from either the .lib or
.dll versions of the file. I tried running nm on the .dll file to create
a .def file in readiness for the dlltool command, but nm found no
symbols. OK thinks I, the file's been stripped. Then I see from this
mailing list that I can use the .lib file to create the .def file. I run
nm on that and get a list of functions, run that through grep to select
those starting '## T _', then strip off the '### T _' stuff. Then I run
the dlltool command (as described in ch4 of the cygwin help pages) on
the new .def file and the stripped .dll file. The gnu version of the
library is created and everything seems hunky-dory. But, several of the
functions I need have been missed.

One of the symbols found by nm, but excluded by the grep command looks
like this: 00000000 T ?CreateDevice AT CFeelDevice@@SAPAV1

I need the c++ function CreateDevice::CFeelDevice. How do I tell dlltool
to grab the code for this function from the .dll file? I tried simply
including the above line minnus the '##T ?' part, but it didn't work.

Thanks,

Guy

gwallis AT hms DOT uq DOT edu DOT au



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019