public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Richard Hellicar (EML)" <Rick.Hellicar@eml.ericsson.se>
To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
Subject: import libraries for 3rd-party DLLs
Date: Wed, 10 Mar 1999 09:00:00 -0000	[thread overview]
Message-ID: <5F052F2A01FBD11184F00008C7A4A8005D57E7@eukbant101.ericsson.se> (raw)

Hello,
                                     
                                                              
I'm trying to create an "import library" to allow me to use gcc with a
third-party DLL.
I tried the .lib files supplied with the DLL, but neither worked (one was
for MS, which
did compile, but complained about entry points when executed, the other for
Borland).
                                                              
The Cygwin User's Guide (Delorie, Humblet, Noer) suggests a method in
Chapter 4
("Linking against DLLs").  However, if I run nm on *any* dll, not just the
one I'm trying
to use, it tells me "No symbols in xyz.dll"

In February, Gary Vaughan posted another method of producing import
libraries;
you *can* produce a library in this way, but the linker chokes on undefined
references when you use it.

Can of the cygwin gods tell me:
1. Should I expect either the MS or Borland .lib files to be compatible ?
2. Is there a way of converting incompatible lib files ?
3. Why doesn't nm find symbols in *any* DLL (try: for i in
/winnt/system32/*.DLL; do nm $i; done)
4. exactly what *is* supposed to be in a .def file; should the @4,@8  stuff
be in
  there or not ?  Semi-colons ?

I'm running cygwin B20.1 and  gcc version egcs-2.91.57 19980901

Thanks in advance to you all


Rick Hellicar
-- 






--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

WARNING: multiple messages have this Message-ID
From: "Richard Hellicar (EML)" <Rick.Hellicar@eml.ericsson.se>
To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
Subject: import libraries for 3rd-party DLLs
Date: Wed, 31 Mar 1999 19:45:00 -0000	[thread overview]
Message-ID: <5F052F2A01FBD11184F00008C7A4A8005D57E7@eukbant101.ericsson.se> (raw)
Message-ID: <19990331194500.jg7LEnRMB_oZZM_kqGSBeiUG3YSQ9Q9XHEFQ_2SlxNg@z> (raw)

Hello,
                                     
                                                              
I'm trying to create an "import library" to allow me to use gcc with a
third-party DLL.
I tried the .lib files supplied with the DLL, but neither worked (one was
for MS, which
did compile, but complained about entry points when executed, the other for
Borland).
                                                              
The Cygwin User's Guide (Delorie, Humblet, Noer) suggests a method in
Chapter 4
("Linking against DLLs").  However, if I run nm on *any* dll, not just the
one I'm trying
to use, it tells me "No symbols in xyz.dll"

In February, Gary Vaughan posted another method of producing import
libraries;
you *can* produce a library in this way, but the linker chokes on undefined
references when you use it.

Can of the cygwin gods tell me:
1. Should I expect either the MS or Borland .lib files to be compatible ?
2. Is there a way of converting incompatible lib files ?
3. Why doesn't nm find symbols in *any* DLL (try: for i in
/winnt/system32/*.DLL; do nm $i; done)
4. exactly what *is* supposed to be in a .def file; should the @4,@8  stuff
be in
  there or not ?  Semi-colons ?

I'm running cygwin B20.1 and  gcc version egcs-2.91.57 19980901

Thanks in advance to you all


Rick Hellicar
-- 






--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


             reply	other threads:[~1999-03-10  9:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-10  9:00 Richard Hellicar (EML) [this message]
1999-03-11  0:23 ` Anders Norlander
1999-03-31 19:45   ` Anders Norlander
1999-03-31 19:45 ` Richard Hellicar (EML)
1999-03-10  9:39 Jim.Totten
1999-03-31 19:45 ` Jim.Totten
1999-03-11  2:14 Rik Hellicar
1999-03-31 19:45 ` Rik Hellicar

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=5F052F2A01FBD11184F00008C7A4A8005D57E7@eukbant101.ericsson.se \
    --to=rick.hellicar@eml.ericsson.se \
    --cc=cygwin@sourceware.cygnus.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).