On Wed, 18 Feb 2015 22:13:04 +0000, Jeremy DeHaan wrote:

> On Monday, 9 February 2015 at 19:24:22 UTC, Iain Buclaw wrote:
>> GDC and DMD are not ABI compatible.  There are many reasons why this is
>> so, but the one that is likely affecting you is because DMD emits
>> references to symbols that do not exist in GDC's runtime library.
>>
>> Iain.
> 
> I was thinking about this today and I had another question. What about
> shared libraries? If I were to release a library on Linux in shared
> library form, would it be compatible between compilers?

nope, if it using D API. only `extern(C)` is allowed, and you must own 
all your GC-allocated objects, and you can't mix DMD and GDC libraries 
(ah, well, you can't even build shared phobos with GDC yet), and...

nope.

Attachment: signature.asc
Description: PGP signature

Reply via email to