Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Getting dynamic loading to work on cygwin
- X-seq: zsh-workers 11727
 
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
 
- To: "Peter Stephenson" <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>,   "Zsh hackers list" <zsh-workers@xxxxxxxxxxxxxx>
 
- Subject: RE: Getting dynamic loading to work on cygwin
 
- Date: Fri, 2 Jun 2000 18:19:01 +0400
 
- Importance: Normal
 
- In-reply-to: <0FVJ00H7A4SJ18@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
>
> Hmm, looks like I spoke too soon.  I don't see a way of
> exporting symbols
> from the main executables which DLL's will recognize.
> However, the old
> system V trick of making the main body of the code a DLL and zsh.exe a
> boot-loader ought to work, and isn't that difficult (again,
> the hard part
> is really just fiddling the scripts etc.).
>
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.
Is there any cross-module data reference in Zsh? Including main
exectuable?
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author