From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22296 invoked from network); 2 Jun 2000 15:01:46 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Jun 2000 15:01:46 -0000 Received: (qmail 18593 invoked by alias); 2 Jun 2000 15:01:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11730 Received: (qmail 18582 invoked from network); 2 Jun 2000 15:01:27 -0000 Date: Fri, 02 Jun 2000 16:00:46 +0100 From: Peter Stephenson Subject: Re: Getting dynamic loading to work on cygwin In-reply-to: "Your message of Fri, 02 Jun 2000 18:19:01 +0400." <000101bfcc9d$7fb67920$21c9ca95@mow.siemens.ru> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Message-id: <0FVJ00HEB8D918@la-la.cambridgesiliconradio.com> Content-transfer-encoding: 7BIT > 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 Cambridge Silicon Radio, Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070