www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - DSSS to build a DLL?

reply Gilles G. <schaouette free.fr> writes:
Hello,
could somebody point me to a working DSS file allowing to build a .dll file?

I currently use a dsss.conf like this:
[files]
shared

the folder "files" currently only contains a main.d with a DllMain entry point.
Here is the ouput I get:
    D:\dsss_test>dsss build
    Creating imports for DD-files
    
    files => DD-files
    + D:\Programmes\DigitalMars\dmd\bin\rebuild.exe -Idsss_imports\ -I. -S.\
-ID:\Pr
ogrammes\DigitalMars\dmd\include\d -SD:\Programmes\DigitalMars\dmd\lib\  -ID:\Pr
ogrammes\DigitalMars\dmd\include\d -SD:\Programmes\DigitalMars\dmd\lib  -oqdsss_
objs  -explicit -lib -full files\main.d -ofSDD-files.lib
    OPTLINK (R) for Win32  Release 7.50B1
    Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

    OPTLINK : Warning 9: Unknown Option : LIB
     link.rf
     Error 2: File Not Found  link.rf
    Command D:\Programmes\DigitalMars\dmd\bin\rebuild.exe returned with code
-1, aborting.

I am using DSSS v0.72.1.

Thanks for the help.

--
Gilles G.
Sep 27 2007
next sibling parent Don Clugston <dac nospam.com.au> writes:
Gilles G. wrote:
 Hello,
 could somebody point me to a working DSS file allowing to build a .dll file?
 
I haven't been able to do it either. Not that I've tried very hard. Please post here if you get a solution.
Oct 02 2007
prev sibling parent BLS <nanali nospam-wanadoo.fr> writes:
Gilles G. schrieb:
 Hello,
 could somebody point me to a working DSS file allowing to build a .dll file?
 
 I currently use a dsss.conf like this:
 [files]
 shared
 
 the folder "files" currently only contains a main.d with a DllMain entry point.
 Here is the ouput I get:
     D:\dsss_test>dsss build
     Creating imports for DD-files
     
     files => DD-files
     + D:\Programmes\DigitalMars\dmd\bin\rebuild.exe -Idsss_imports\ -I. -S.\
-ID:\Pr
 ogrammes\DigitalMars\dmd\include\d -SD:\Programmes\DigitalMars\dmd\lib\ 
-ID:\Pr
 ogrammes\DigitalMars\dmd\include\d -SD:\Programmes\DigitalMars\dmd\lib 
-oqdsss_
 objs  -explicit -lib -full files\main.d -ofSDD-files.lib
     OPTLINK (R) for Win32  Release 7.50B1
     Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
 
     OPTLINK : Warning 9: Unknown Option : LIB
      link.rf
      Error 2: File Not Found  link.rf
     Command D:\Programmes\DigitalMars\dmd\bin\rebuild.exe returned with code
-1, aborting.
 
 I am using DSSS v0.72.1.
 
 Thanks for the help.
 
 --
 Gilles G.
Dunno much about DSS, but BUD is able to create DLLs. HTH Bjoern
Oct 02 2007