Re: Bug in dlopen() (or following) code in Cygwin1.dll v 1.5.19-4

2006-03-09 Thread vita
I have got to a similar problem with Cygwin having same symptoms. I have found that there was a reported problem with a strings in libstdc++.la, if your application is using dlls. It is really awfull bug to identify... See this links for details: http://sourceware.org/ml/cygwin/2006-01/msg01352.ht

Re: Cygwin 1.5.19 breaks my app

2006-02-06 Thread vita
I have got to a similar problem with Cygwin having same symptoms. I have found that there was a reported problem with a strings in libstdc++.la, if your application is using dlls. It is really awfull bug to identify... See this links for details: http://sourceware.org/ml/cygwin/2006-01/msg01352.ht

Re: 1.5.19-4: global constructors not working with dlopen()

2006-02-02 Thread vita
I tried your example duplicating your error. I played with it and change it little bit to get it to work. Instead of using printf() in your T1_dl.c I used cout and compiled it with g++ instead of gcc. Could it be you mixed C++ streams used in your T1 class with old C printf-family what brings your

1.5.19-4: Problem to debug dll-mechanism on Cygwin

2006-02-01 Thread vita
Greetings! I run into some strange problems while trying to debug a simple application in order to test dll-mechanism with Cygwin 1.5.19-4 on Windows 2000 Professional. The whole minimalistic application, made of "a.cpp", "a.h" and "main.cpp", is attached and was compiled using "compile.sh" script