Announcing: D support in SWIG

klickverbot see at klickverbot.at
Thu Dec 9 13:54:30 PST 2010


On 12/9/10 10:12 PM, Andrej Mitrovic wrote:
> I'm curious, can you use SWIG with D2 on Linux as well? From what I've
> read so far in the docs, SWIG creates an extension module that can be
> compiled as a dynamic library. But afaik there are some issues with
> using dynamic libs in Linux with D2, at least that's what I've read a
> few times in the newsgroups..

What's compiled as a dynamic library is the C/C++ wrapper layer, but the 
issues are related to writing dynamic libraries in D.

By the way, the wrapper library could be linked statically as well (I'll 
implement that as soon as I have some time to spare), but due to the 
COFF/OMF issues on Windows, I decided to default to dynamic loading.


More information about the Digitalmars-d-announce mailing list