This is the mail archive of the email@example.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
import libraries for 3rd-party DLLs
- To: "'firstname.lastname@example.org'" <email@example.com>
- Subject: import libraries for 3rd-party DLLs
- From: "Richard Hellicar (EML)" <Rick.Hellicar@eml.ericsson.se>
- Date: Wed, 10 Mar 1999 16:38:43 +0100
- Delivered-To: firstname.lastname@example.org
- Delivered-To: mailing list email@example.com
- Mailing-List: contact firstname.lastname@example.org; run by ezmlm
- Sender: email@example.com
I'm trying to create an "import library" to allow me to use gcc with a
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
The Cygwin User's Guide (Delorie, Humblet, Noer) suggests a method in
("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
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
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
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org