I'm having trouble with global constructors/destructors not executing/crashing within a dlopened DLL.
I've attached a test-case.
FYI: This works fine with 1.5.13-1.
Thanks for your help.
Martin
ps:
Here's my shell log.
[EMAIL PROTECTED] make clean
/bin/rm -f T1_dl *.exe *.dll *.so *~ mapfile
[EMAIL PROTECTED] make; ./T1_dl
g++ -Wall -Wl,-Map,mapfile -shared T1.cpp T1_inst.cpp -o T1_inst.dll
gcc -Wall T1_dl.c -o T1_dl
opening...
[EMAIL PROTECTED] make nocygwin; ./T1_dl
g++ -Wall -mno-cygwin -shared T1.cpp T1_inst.cpp -o T1_inst.dll
gcc -Wall T1_dl.c -o T1_dl
opening...
T1 object created.
opened successfully
closing...
T1 object deleted.
closed
[EMAIL PROTECTED] make t1inst; ./T1_inst
g++ -Wall -DT1_INST_EXE T1.cpp T1_inst.cpp -o T1_inst
T1 object created.
running
exiting...
T1 object deleted.
[EMAIL PROTECTED]
__________________________________________________________
Find your next car at http://autos.yahoo.ca
Makefile
Description: 402397780-Makefile
T1.cpp
Description: 2580513814-T1.cpp
T1.hpp
Description: 2954177392-T1.hpp
T1_dl.c
Description: 190956446-T1_dl.c
T1_inst.cpp
Description: 2018291270-T1_inst.cpp
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

