I'm agree but it seems it's used to provide stack traces too (I just read it on an old post). So maybe if -shared or if we're in debug mode...

Il giorno mer, 18/01/2012 alle 16.35 +0100, Jacob Carlborg ha scritto:

How about DMD passing --export-dynamic to GCC if -shared is passed to DMD?