Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting dynamic loading to work on cygwin
- X-seq: zsh-workers 11730
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Getting dynamic loading to work on cygwin
- Date: Fri, 02 Jun 2000 16:00:46 +0100
- In-reply-to: "Your message of Fri, 02 Jun 2000 18:19:01 +0400." <000101bfcc9d$7fb67920$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> If I recall correctly, there is no way to export data references; only
> subroutines entry points can be exported. I.e. one DLL cannot directly
> reference variable in other DLL. But I may be wrong.
Yuk, it looks like your right. Using dlsym to get the symbol works OK, but
simply linking against the DLL and loading it doesn't seem to pick up the
right value. That will screw up a lot of things.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author