On 2012-10-01 12:42, Johannes Pfau wrote:
There are some reasons for dynamic libraries linked at compile time,
one is that we have to start somewhere and they are required for
plugins / dynamically loaded libraries as well ;-)
So I started a small test suite for GDC (could be adapted to other
compilers). It currently only tests compile time linking of dynamic
libraries, but adjusting the test to use runtime loading should be
easy. But it's pointless as long as we have no runtime support.
https://github.com/jpf91/dso-test
Isn't "dmain2" used when building shared libraries using GDC? That's
where the implementation of "rt_init" is located.
--
/Jacob Carlborg