delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/14/17:53:47

Message-Id: <200111142253.fAEMrkM10687@delorie.com>
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
From: "Mark Paulus" <commpg AT yahoo DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Wed, 14 Nov 2001 15:53:15 -0700
Reply-To: "Mark Paulus" <commpg AT yahoo DOT com>
X-Mailer: PMMail 2000 Professional (2.20.2380) For Windows 2000 (5.0.2195;2)
In-Reply-To: <4.3.1.2.20011114173634.021ecee8@pop.ma.ultranet.com>
MIME-Version: 1.0
Subject: Re: How do I debug a global object in a DLL??

Yes, it is being exported.  I have put a -Wl,-export-all-symbols in
the .dll link step, and when I look in the .def file (I have
also added a -Wl,-output-def=<file> statement).  



On Wed, 14 Nov 2001 17:36:58 -0500, Larry Hall \(RFK Partners, Inc\) wrote:

>At 05:34 PM 11/14/2001, Mark Paulus wrote:
>>Hi,
>>
>>I have this problem where I am defining a global object
>>within a dll, but somehow that global definition is not
>>making it into the main executable.  Everything works
>>fine if the program is statically bound, but I want to know
>>how to go about debugging the program initialization
>>steps, to see where the problem with this global
>>objects constructor....
>
>
>
>Did you export the variable from the DLL?
>
>
>
>Larry Hall                              lhall AT rfk DOT com
>RFK Partners, Inc.                      http://www.rfk.com
>838 Washington Street                   (508) 893-9779 - RFK Office
>Holliston, MA 01746                     (508) 893-9889 - FAX




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019