From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21731 invoked from network); 2 Jun 2000 14:19:20 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Jun 2000 14:19:20 -0000 Received: (qmail 13855 invoked by alias); 2 Jun 2000 14:19:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11727 Received: (qmail 13848 invoked from network); 2 Jun 2000 14:19:03 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Peter Stephenson" , "Zsh hackers list" Subject: RE: Getting dynamic loading to work on cygwin Date: Fri, 2 Jun 2000 18:19:01 +0400 Message-ID: <000101bfcc9d$7fb67920$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-reply-to: <0FVJ00H7A4SJ18@la-la.cambridgesiliconradio.com> Importance: Normal > > 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