delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
X-Envelope-Sender-Is: | Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer goliath.siemens.de) |
From: | "Andrej Borsenkow" <Andrej DOT Borsenkow AT mow DOT siemens DOT ru> |
To: | "Ralf Habacker" <Ralf DOT Habacker AT saght DOT tessag DOT com>, |
"Cygwin" <cygwin AT cygwin DOT com> | |
Subject: | RE: function pointers & DLL's |
Date: | Mon, 14 May 2001 18:07:51 +0400 |
Message-ID: | <000a01c0dc7f$434a8b50$21c9ca95@mow.siemens.ru> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
In-Reply-To: | <002c01c0dc78$e6cb4000$6e032bb7@BRAMSCHE> |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2462.0000 |
> > > > For GCC (at least :-) __declspec(dllimport) is optional for functions but > > is mandatory for variables. The side-effect of the above is, that function > > address is no more static and cannot be used as static initializer, e.g. > > in function dispatch table like > > > That's not right. Paul Sokolvsky has written an ld patch named auto-import > initial for mingw, which is adapted to cygwin. Look into the appended files. > If you like, you can have this patched ld by mail and try it out. > Ehem ... what exactly is not right? If this patch is already included in current Cygwin GCC/binutils - granted, I have not tried it lately. If not - my statement is still correct for the curent GCC. -andrej -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |