public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: JonY <10walls@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Problem linking with an import library (.lib) file:
Date: Sat, 16 May 2015 04:58:00 -0000	[thread overview]
Message-ID: <5556ADB7.70505@gmail.com> (raw)
In-Reply-To: <70AE7462E7AD054C89DCBA45343D499A6586602D@CARSMAIL2.CARS.APS.ANL.GOV>

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

On 5/16/2015 04:08, Mark Rivers wrote:
> Jon Y wrote:
> 
>> Try using gendef to generate a def file from the DLL and use dlltool to
>> generate an import library from the new def file.
> 
> Unfortunately the dll is stripped, so this does not work:
> 
> $ nm plxapi631.dll
> nm: plxapi631.dll: no symbols
> 
> I know that this specific .lib file has worked in the past to link with Cygwin.  Unfortunately it is quite difficult to "roll back" with Cygwin to figure out in which version it last worked.
> 

gendef should still be able to get a list of symbols, it works on
Windows system DLLs, it should work on yours.




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2015-05-16  2:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <70AE7462E7AD054C89DCBA45343D499A65860E12@CARSMAIL2.CARS.APS.ANL.GOV>
2015-05-13 23:38 ` Mark Rivers
2015-05-14 15:43   ` Mark Rivers
2015-05-15  0:47     ` JonY
2015-05-15 20:50     ` Mark Rivers
2015-05-16  4:58       ` JonY [this message]
2015-06-12 21:01 Laurent Tassan-Got

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5556ADB7.70505@gmail.com \
    --to=10walls@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).