Hi all,
I'm having some troubles when trying to build shared C++ libraries with
g++ 2.95.2 on AIX 4.3.3;
It seems like if I load a shared library using dlopen(), global/static
constructors in the library are not executed.
From "AIX Linking an Loading Mechanisms" (aix_ll.pdf) I know there
exists a script MakeC++SharedLib which presumably solves this problem
for the IBM VisualAge compiler, but I couldn't find something similar
for g++.
Has anyone successfully managed to create shared libraries with g++, so
that static constructors are invoked properly?
Thanks,
Thomas
--
Thomas Kemmer
Hyperwave Software R&D, A-8010 Graz, Albrechtgasse 9/II
Tel: +43-316-820918-611, Fax: +43-316-820918-99