www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Rebuild and Dll's

reply "Simen Haugen" <simen norstat.no> writes:
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?
Oct 05 2007
parent reply Don Clugston <dac nospam.com.au> writes:
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?
Oct 05 2007
parent Gilles G. <schaouette free.fr> writes:
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?
Oct 08 2007