This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]