Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.1.2.20011114175957.02291a88@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Wed, 14 Nov 2001 18:00:13 -0500
To: "Mark Paulus" <commpg@yahoo.com>, "cygwin@cygwin.com" <cygwin@cygwin.com>
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: Re: How do I debug a global object in a DLL??
In-Reply-To: <200111142253.RAA01640@acestes-fe0.ultra.net>
References: <4.3.1.2.20011114173634.021ecee8@pop.ma.ultranet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

OK, that taps me out! ;-)

Larry


At 05:53 PM 11/14/2001, Mark Paulus wrote:
>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@rfk.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/


--
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/

