Thread overview
Rebuild and Dll's
Oct 05, 2007
Simen Haugen
Oct 05, 2007
Don Clugston
Oct 08, 2007
Gilles G.
October 05, 2007
Hi.

I'm using rebuild 0.72.1, dmd 1.020 and phobos and wanted to create a dll. I found some forum posts here stating that this could be done with Bud, but the only documentation I can find for rebuild is :

"From rebuild's perspective, a shared library must be able to
be used interchangeably with a standard library, so DMD's .dll's on Windows
are
not supported."

I don't know if this is updated, but if I try to use the "shlib" or "dylib" options I get an error "No 'link' setting configured.".

Does this mean I cannot use rebuild to create dll's?


October 05, 2007
Simen Haugen wrote:
> Hi.
> 
> I'm using rebuild 0.72.1, dmd 1.020 and phobos and wanted to create a dll. I found some forum posts here stating that this could be done with Bud, but the only documentation I can find for rebuild is :
> 
> "From rebuild's perspective, a shared library must be able to
> be used interchangeably with a standard library, so DMD's .dll's on Windows are
> not supported."

Thanks for finding that. It matches my experience.
That's a complete show-stopper for rebuild, and hence for dsss.


> I don't know if this is updated, but if I try to use the "shlib" or "dylib" options I get an error "No 'link' setting configured.".
> 
> Does this mean I cannot use rebuild to create dll's?

October 08, 2007
Same problem here, this limitation prevents me from using DSSS or rebuild for now.

Don Clugston Wrote:

> Simen Haugen wrote:
> > Hi.
> > 
> > I'm using rebuild 0.72.1, dmd 1.020 and phobos and wanted to create a dll. I found some forum posts here stating that this could be done with Bud, but the only documentation I can find for rebuild is :
> > 
> > "From rebuild's perspective, a shared library must be able to
> > be used interchangeably with a standard library, so DMD's .dll's on Windows
> > are
> > not supported."
> 
> Thanks for finding that. It matches my experience.
> That's a complete show-stopper for rebuild, and hence for dsss.
> 
> 
> > I don't know if this is updated, but if I try to use the "shlib" or "dylib" options I get an error "No 'link' setting configured.".
> > 
> > Does this mean I cannot use rebuild to create dll's?
>