delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de> |
To: | "Cygwin" <cygwin AT sources DOT redhat DOT com> |
Subject: | RE: Linking to commercial dll's |
Date: | Sat, 17 Nov 2001 20:28:08 +0100 |
Message-ID: | <000c01c16f9d$fcf24910$306307d5@BRAMSCHE> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook 8.5, Build 4.71.2173.0 |
In-Reply-To: | <000901c16ee2$05054420$fa6607d5@BRAMSCHE> |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Importance: | Normal |
> -----Ursprüngliche Nachricht----- > Von: cygwin-owner AT sources DOT redhat DOT com > [mailto:cygwin-owner AT sources DOT redhat DOT com]Im Auftrag von Ralf Habacker > Gesendet am: Freitag, 16. November 2001 22:03 > An: Cygwin > Betreff: RE: Linking to commercial dll's <snip> > 1. For a deeply explanation of the windows dll format look at > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwbg > en/html/ms > dn_peeringpe.asp. > > 2. You have to create a ld compatible import library. You can use the tools > impgen and dlltool for doing this. impgen comes from the libtool > package and is > appended to this mail. dlltool is a part of the basic cygwin. > > Here is an example for a dll named 'libxslt.dll': > > 1. compile the tool impgen with the appended source file > > gcc -o impgen impgen.c > cp ./impgen /usr/local/bin > > > 2. create a file with all exported symbols from the dll (it's called 'def' > file). > > impgen libxslt.dll >libxslt.def I should note that there is another tool pexports, which does the same as impgen with the enhancement of exporting data symbols You can found pexports under http://www.is.lg.ua/~paul/devel/binutils.html Regards Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |