Posted: Tue Oct 09, 2007 1:58 pm
Hmmm... I haven't used that switch before. The one I've seen to hack around the difference I described is -Bsymbolic, which on Solaris 9 caused global constructors and destructors in the shared library to not run (probably because .init and .fini got killed or something).JamesM wrote: so use --retain-symbols-file ...?
You're just describing the default, "out of the box" setup.
In any case, if you can make ELF shared libraries behave like Windows DLLs, I think it's a safe bet that you can't do the opposite.
<edit>
BTW, is using --retain-symbols-file considered common practice? I'm pretty sure the use of -Bsymbolic is highly discouraged, at least on Solaris...
</edit>