On Dec 22, 2004, at 2:24 AM, Martin Costabel wrote:
Is this different from using the "-single-module" linker flag? The latter is often recommended for problems with static initializers.

According to Apple, it's exactly the same thing: http://developer.apple.com/releasenotes/DeveloperTools/ CompilerTools.html . I guess when I looked into the issue for "arts" way back during the KDE port it was before they added the -single_module flag.

For the benefit of anybody who needs to search for this later: To deal with static initializers not running on OS X due to lazy linking,

executables: link with -Wl,-bind_at_load
libraries: link with -single_module

Dave

Attachment: PGP.sig
Description: This is a digitally signed message part



Reply via email to