Thread overview
shared-object libraries
Jun 18, 2010
Chick Corea
Jun 19, 2010
Jacob Carlborg
Jun 19, 2010
Robert Clipsham
Jun 21, 2010
Chick Corea
June 18, 2010
Is it possible to build a shared-object library (dot so) with D ?  The
only instructions that I saw
for building a library are on these OS pages, e.g., for linux:

   http://www.digitalmars.com/d/2.0/dmd-linux.html#library

And they build static/archive libraries, not shared-object.

Thanks.

CHICKZ
June 19, 2010
On 2010-06-18 18:30, Chick Corea wrote:
> Is it possible to build a shared-object library (dot so) with D ?  The
> only instructions that I saw
> for building a library are on these OS pages, e.g., for linux:
>
>     http://www.digitalmars.com/d/2.0/dmd-linux.html#library
>
> And they build static/archive libraries, not shared-object.
>
> Thanks.
>
> CHICKZ

It's currently not working on linux. There are people working on it.

-- 
/Jacob Carlborg
June 19, 2010
On 18/06/10 17:30, Chick Corea wrote:
> Is it possible to build a shared-object library (dot so) with D ?  The
> only instructions that I saw
> for building a library are on these OS pages, e.g., for linux:
>
>     http://www.digitalmars.com/d/2.0/dmd-linux.html#library
>
> And they build static/archive libraries, not shared-object.
>
> Thanks.
>
> CHICKZ

It's currently not possible with dmd as far as I'm aware. I've managed to get it working with ldc before now, and I've heard of people having success with gdc too.

Robert
June 21, 2010
Thanks for the info, guys.

CHICKZ