www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - tango build on mac with dsss and dmd calls ar twice

reply Alexy Khrabrov <deliverable gmail.com> writes:
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?
Mar 11 2009
next sibling parent Walter Bright <newshound1 digitalmars.com> writes:
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.
Mar 11 2009
prev sibling parent Jacob Carlborg <doob me.com> writes:
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.
Mar 12 2009