[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
macosx broken constructors in libraries
From: |
David Sugar |
Subject: |
macosx broken constructors in libraries |
Date: |
Thu, 24 Apr 2003 19:55:27 -0400 |
User-agent: |
KMail/1.5 |
I finally did find a reference on the web that refers to the exact problem I
was seeing in macosx with GNU Common C++ and the failure to run constructors
for objects initialized in the shared library; that in certain cases global
constructors really do not get executed, unless the object or code section it
is contained in is implicity referenced. The only link to this topic I ever
found is from a libtool discussion:
http://mail.gnu.org/archive/html/libtool/2002-04/msg00060.html
Which has the first excellant summery of the problem that I had been able to
find, as well as a strange solution through two step linking...certainly
there has to be a better or less ugly way?!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- macosx broken constructors in libraries,
David Sugar <=