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 sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
X-Authentication-Warning: | bono.reversers.net: stefan owned process doing -bs |
Date: | Fri, 23 Jun 2000 23:10:17 +0200 (CEST) |
From: | stefan <stefan AT lkcc DOT org> |
X-Sender: | stefan AT bono DOT reversers DOT net |
To: | Cygwin Mailing List <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Re: DLL Data Symbols |
In-Reply-To: | <Pine.LNX.4.10.10006231546170.510-100000@bono.reversers.net> |
Message-ID: | <Pine.LNX.4.10.10006232305250.7256-100000@bono.reversers.net> |
MIME-Version: | 1.0 |
On Fri, 23 Jun 2000, stefan wrote: > Hi Cygwinners, > > we are going to create some DLL via gcc, dlltool and dllwrap. This seems > to work for functions but not for DATA. > > What kind of modifications do i have to do for both the DLL and the > application to have imported data symbols in my application ? Sorry for this, i just found something in the mailing list archives... We need "__declspec(dllimport|dllexport)" in front of variables. But another question is, if it is possible to link against the dll itself or is it really neccessary to build the apropiate link library via "dlltool --output-lib" ? Maybe it is also possible to create a dll directly by gcc, thus we do not need "dllwrap" and "dlltool --export-all --def" ? Thanks in advance... Stefan. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |