tango build on mac with dsss and dmd calls ar twice

Walter Bright newshound1 at digitalmars.com
Wed Mar 11 22:03:11 PDT 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.



More information about the Digitalmars-d mailing list