Am Thu, 19 Dec 2013 15:39:28 +0000
schrieb Iain Buclaw <[email protected]>:

> On 19 December 2013 11:47, Johannes Pfau <[email protected]> wrote:
> > Am Tue, 17 Dec 2013 18:48:38 +0100
> > schrieb "Iain Buclaw" <[email protected]>:
> >
> 
> It's compatible with libgcc emutls.

Of course! I totally missed the extern(C) in emutls.d. So emutls.d just
overwrites the default emutls implementation in libgcc?

I guess this works fine for D apps as long as libgcc is a static
library.

What about a shared libgcc? Wouldn't the compiler then pickup the
emutls function in libgcc instead of libgdruntme?

The most difficult case is probably a C app loading a
shared D library?

Reply via email to