Thread overview
tango build on mac with dsss and dmd calls ar twice
Mar 12, 2009
Alexy Khrabrov
Mar 12, 2009
Walter Bright
Mar 12, 2009
Jacob Carlborg
March 12, 2009
So I've tried DSSS out of curiosity on tango on Mac with the new shiny dmd.  BTW build-dmd.sh works, so this is a DSSS trial.

I've got the DSSS.pkg by Anders and changed default to dmd-posix in /usr/etc/rebuild, and culled -version=Posix out of the compile cmd.

Strangely, it chokes on ar, issuing it twice: first for the ar rc lib objects, then just ar rc lib.  Both invocations are the liblink cmd.  I sense there's something funny going on with the timings here?
March 12, 2009
Alexy Khrabrov wrote:
> So I've tried DSSS out of curiosity on tango on Mac with the new
> shiny dmd.  BTW build-dmd.sh works, so this is a DSSS trial.
> 
> I've got the DSSS.pkg by Anders and changed default to dmd-posix in
> /usr/etc/rebuild, and culled -version=Posix out of the compile cmd.
> 
> 
> Strangely, it chokes on ar, issuing it twice: first for the ar rc lib
> objects, then just ar rc lib.  Both invocations are the liblink cmd.
> I sense there's something funny going on with the timings here?


It is not necessary to even use ar. dmd can build libraries directly (and very fast!) with the -lib switch.
March 12, 2009
Alexy Khrabrov wrote:
> So I've tried DSSS out of curiosity on tango on Mac with the new shiny dmd.  BTW build-dmd.sh works, so this is a DSSS trial.
> 
> I've got the DSSS.pkg by Anders and changed default to dmd-posix in /usr/etc/rebuild, and culled -version=Posix out of the compile cmd.  
> 
> Strangely, it chokes on ar, issuing it twice: first for the ar rc lib objects, then just ar rc lib.  Both invocations are the liblink cmd.  I sense there's something funny going on with the timings here?

Perhaps you have this problem: http://www.dsource.org/projects/dsss/ticket/207

I use dsss 0.75 and it works.