How to create a shared library with DMD on Linux?

Bradley Smith digitalmars-com at baysmith.com
Wed Jan 10 09:29:01 PST 2007


I was hoping that I was doing something wrong and it could be linked 
against a non-D language.

Thanks,
   Bradley

rochus wrote:
> 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