Thread overview
DSSS to build a DLL?
Sep 27, 2007
Gilles G.
Oct 02, 2007
Don Clugston
Oct 02, 2007
BLS
September 27, 2007
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.
October 02, 2007
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.
October 02, 2007
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