Changeset 777

Show
Ignore:
Timestamp:
08/25/07 18:30:51 (1 year ago)
Author:
Gregor
Message:

*: More DMD fixes - now always compiles one file at a time.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docs/ChangeLog

    r772 r777  
     1SVN from 0.71: 
     2        - More DMD fixes - now always compiles one file at a time. 
     3 
    140.71 from 0.70: 
    25        - Much-improved README.software_engineers. 
  • trunk/rebuild/dsss.conf

    r599 r777  
    1010    install rebuild_choosedc$EXE_EXT $BIN_PREFIX ; \ 
    1111    install rebuild.conf/default $ETC_PREFIX/rebuild ; \ 
     12    install rebuild.conf/native $ETC_PREFIX/rebuild ; \ 
    1213    install rebuild.conf/phobos $ETC_PREFIX/rebuild ; \ 
    1314    install rebuild.conf/tango $ETC_PREFIX/rebuild ; \ 
  • trunk/rebuild/mars.c

    r772 r777  
    521521            else if (strcmp(p + 1, "lib") == 0) 
    522522            { 
    523                 if (masterConfig.find("liblink") != masterConfig.end() && 
    524                     masterConfig["liblink"].find("oneatatime") != masterConfig["liblink"].end() && 
    525                     masterConfig["liblink"]["oneatatime"] != "no") { 
    526                     global.params.oneatatime = 1; 
    527                 } 
    528523                global.params.lib = 1; 
    529524            } 
    530525            else if (strcmp(p + 1, "shlib") == 0) 
    531526            { 
    532                 if (masterConfig.find("shliblink") != masterConfig.end() && 
    533                     masterConfig["shliblink"].find("oneatatime") != masterConfig["shliblink"].end() && 
    534                     masterConfig["shliblink"]["oneatatime"] != "no") { 
    535                     global.params.oneatatime = 1; 
    536                 } 
    537527                global.params.shlib = 1; 
    538528            } 
    539529            else if (strcmp(p + 1, "dylib") == 0) 
    540530            { 
    541                 if (masterConfig.find("dyliblink") != masterConfig.end() && 
    542                     masterConfig["dyliblink"].find("oneatatime") != masterConfig["dyliblink"].end() && 
    543                     masterConfig["dyliblink"]["oneatatime"] != "no") { 
    544                     global.params.oneatatime = 1; 
    545                 } 
    546531                global.params.dylib = 1; 
    547532            } 
     
    996981    } 
    997982     
     983    // figure out if we need to link one-at-time 
     984    char *sect; 
     985    if (global.params.lib) { 
     986        sect = "liblink"; 
     987    } else if (global.params.shlib) { 
     988        sect = "shliblink"; 
     989    } else if (global.params.dylib) { 
     990        sect = "dyliblink"; 
     991    } else { 
     992        sect = "link"; 
     993    } 
     994    if (masterConfig.find(sect) != masterConfig.end() && 
     995        masterConfig[sect].find("oneatatime") != masterConfig[sect].end() && 
     996        masterConfig[sect]["oneatatime"] != "no") { 
     997        global.params.oneatatime = 1; 
     998    } 
     999 
    9981000    // add include= paths 
    9991001    if (masterConfig.find("") != masterConfig.end() && 
  • trunk/rebuild/rebuild.conf/dmd-posix

    r633 r777  
    3838 
    3939[link] 
     40oneatatime=yes 
    4041cmd=dmd -L--start-group -L-lphobos $i -of$o 
    4142 
  • trunk/rebuild/rebuild.conf/dmd-posix-tango

    r633 r777  
    3939 
    4040[link] 
     41oneatatime=yes 
    4142cmd=dmd -L--start-group -L-lphobos $i -of$o 
    4243 
  • trunk/rebuild/rebuild.conf/dmd-win

    r526 r777  
    4040 
    4141[link] 
     42oneatatime=yes 
    4243cmd=dmd $i -of$o 
    4344response=@ 
  • trunk/rebuild/rebuild.conf/dmd-win-tango

    r526 r777  
    4141 
    4242[link] 
     43oneatatime=yes 
    4344cmd=dmd $i -of$o 
    4445response=@