This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: Linking with several DLLs
- To: Daniel Gonzalez <dgonzalez@datacomm.ch>
- Subject: Re: Linking with several DLLs
- From: Mumit Khan <khan@xraylith.wisc.EDU>
- Date: Fri, 30 Apr 1999 02:14:54 -0500
- cc: cygwin@sourceware.cygnus.com
Daniel Gonzalez <dgonzalez@datacomm.ch> writes:
> Hi,
>
> I have a program linking with several DLLs. Do I have to declare an impure
> pointer
> in each DLL? How do I initialize it? Why is it necessary?
>
Good news is that the impure_ptr hack hasn't been necessary since b19.1,
but you need to use the right entry point. All this is handled
transparently by dllwrap, which will eventually be obsoleted when
ld supports --shared option (thanks to DJ Delorie's ongoing work).
Please see my instructions + examples in my dllhelpers package:
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/dllhelpers.html
Regards,
Mumit
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com