delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/15/22:39:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=inWy+r
4VKQ6Mw3t4Z/t7I46tckJ1rvACKDMS0euBvrB9vNpt3gBMgum8TTYxkmgrIJXjM0
PW6zj33F5AlM39s/sigj5H7B6fmpvFgWF/OCS8IYIVYVAGJNzm8XON4ec93kLYJt
uNBpwzrjUgUZw9MsMQCNVyNtHwrkjO/i9Nk2o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; s=default; bh=j5AvBpXz4HEX
XrHzZgEQ+nADc/E=; b=QH8XxbTisOBXEhIMkVfAxfh8F+MBUZP+XiRE3qUw8dKD
YdubgK8f2WlI7eR4yUcL9ZV7oBZw7yd66quoqxglGGXTfJDBFgO5rhdAZre8KYRy
jX94cwYw2Nj2JUr2xoS1K/Ue7CtTCGIWcStVMvFIt9wE/jkANfZNa4KM3O/SejI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-pa0-f50.google.com
X-Received: by 10.66.159.169 with SMTP id xd9mr24123291pab.138.1431743948942; Fri, 15 May 2015 19:39:08 -0700 (PDT)
Message-ID: <5556ADB7.70505@gmail.com>
Date: Sat, 16 May 2015 10:38:47 +0800
From: JonY <10walls AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:24.0) Gecko/20140503 FossaMail/24.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem linking with an import library (.lib) file:
References: <70AE7462E7AD054C89DCBA45343D499A65860E12 AT CARSMAIL2 DOT CARS DOT APS DOT ANL DOT GOV> <70AE7462E7AD054C89DCBA45343D499A65860EBD AT CARSMAIL2 DOT CARS DOT APS DOT ANL DOT GOV> <70AE7462E7AD054C89DCBA45343D499A65861B29 AT CARSMAIL2 DOT CARS DOT APS DOT ANL DOT GOV> <70AE7462E7AD054C89DCBA45343D499A6586602D AT CARSMAIL2 DOT CARS DOT APS DOT ANL DOT GOV>
In-Reply-To: <70AE7462E7AD054C89DCBA45343D499A6586602D@CARSMAIL2.CARS.APS.ANL.GOV>
X-IsSubscribed: yes

--jCkkoPCGvFSuqc8juKwNdFR6tvBWGxO3B
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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

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




--jCkkoPCGvFSuqc8juKwNdFR6tvBWGxO3B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBAgAGBQJVVq28AAoJEHE7X+KcFF1FL4sP/3OLd8Cl8908bquX+kZxd20U
JtRwXpR/rWWu6xZ7DOe/gmNae3IUeWxQ53ikLiDR9K5ABLK2LeyL+/+mvaoycqyp
JqfOjA9oXmEl6eqQgh770o+84FGiKg+Q9oKjHW9gQGz+H4REaGV12P6NcCrFiaaR
KbKIU55NbLzXidYCHu6INBR64nGgFM1z4yGX9JCBsKNiUppoVDGLRXxLTwHGE24a
P8cbXsGPnhx2PadtNclL/O9dUJOfNMqp+NGQ8skES74INY9oGCCzTrpHIeOhnx10
qMUNtRO4FwZdb3uOQXHTXbACDqJ0kclvBfgJvdhsNHr1lyoAy+u/j9j0yPIILg8N
E/33g7WfW89V/aJZAyPGoZ9eSyz/N2U+GqUfQ5Nmj4/jECh/p/LI3mTVlhTD/vDI
yWDTYRSq/o4+BhTb2I9rEA38xLJVsJklf2/iH5CkH2TcqJa8bgh30sqNZBuWhTUV
uO5Rk8WR9gk2fCjrX3c+Rt3ylED9SmCqQb6sl+nUvQ21U5qUP8guEHf6rAkn2rGy
ehSvn7/BWXxxf7myl2p9bwXLxewMwoF0KEP9+mpvhCJMJBZCQ0dmJvkmTgsBqcfJ
+Ns9XYN+c3yPUHX8EBG26z2jhTc03EISt9TA0tsBML0ta+9EpIcgk/PENlPoPbVe
cE9A67zkL+CRy9PJNpwQ
=pOvE
-----END PGP SIGNATURE-----

--jCkkoPCGvFSuqc8juKwNdFR6tvBWGxO3B--

- Raw text -


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