How to create a shared library with DMD on Linux?

rochus rochus at rochus.net
Wed Jan 10 01:53:08 PST 2007


Heinz wrote:
> Hi,
> 
> You can't create shared libraries for unix with DMD, it's written somewhere around
> the website (i remerber it says that Walter haven't figured about library
> structure or implementation or something under unix, it's on the todo list).
> 
> BUT, i think GDC can do it: http://dgcc.sourceforge.net/
> 
> Good luck


Hi Heinz,
It _is_ possible to write shared objects for unix using DMD. What does
not work is linking against this shared object using another language
than D.


best regards,
nicolai


More information about the Digitalmars-d-learn mailing list