Announcing: D support in SWIG

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Dec 9 14:47:41 PST 2010


I'm thinking maybe we should have a SWIG interfaces project on
dsource, if one doesn't exist yet. If someone made SWIG interfaces for
some big library it would be cool to share it at one place so anyone
could download them.

On 12/9/10, klickverbot <see at klickverbot.at> wrote:
> 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