From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7462 invoked from network); 31 Jul 2000 13:58:55 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 Jul 2000 13:58:55 -0000 Received: (qmail 17416 invoked by alias); 31 Jul 2000 13:58:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12441 Received: (qmail 17409 invoked from network); 31 Jul 2000 13:58:40 -0000 Date: Mon, 31 Jul 2000 14:58:12 +0100 From: Peter Stephenson Subject: Re: Dynamic loading on Cygwin - status In-reply-to: "Your message of Fri, 28 Jul 2000 20:17:40 +0400." <000201bff8af$59daf3f0$21c9ca95@mow.siemens.ru> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Message-id: <0FYK005CYET0JA@la-la.cambridgesiliconradio.com> Content-transfer-encoding: 7BIT > > - external function or variable imported from another module is not > > considered > > a constant on Cygwin (actually, on Windows). Hence, any static initializer > > fails, e.g > > That is really bad. Isn't it enough to mark it as __attribute__((dllimport)) in the importing file (assuming the symbol's exported in the first place, obviously)? -- Peter Stephenson Cambridge Silicon Radio, Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070