Incremental compilation with DMD

Tom S h3r3tic at remove.mat.uni.torun.pl
Thu Sep 17 19:06:07 PDT 2009


Walter Bright wrote:
> Tom S wrote:
>> When building my second largest project, DMD eats up about 1.2GB of 
>> memory and dies (even without -g). Luckily, xfBuild allows me to set 
>> the limit of modules to be compiled at a time, so when I cap it to 
>> 200, it compiled... but didn't link :( Somewhere in the process a 
>> library is created that confuses OPTLINK as well as "lib -l". There's 
>> one symbol in it that neither of these are unable to see and it 
>> results in an undefined reference when linking. The symbol is clearly 
>> there when using a lib dumping tool from DDL or "libunres -d -c". I've 
>> dropped the lib at http://h3.team0xf.com/strangeLib.7z . The symbol in 
>> question is compressed and this newsgroup probably won't chew the 
>> non-ansi chars well, but it can be found via a regex 
>> "D2xf3omg4core.*ctFromRealVee0P0Z".
> 
> Please post to bugzilla.

http://d.puremagic.com/issues/show_bug.cgi?id=3327


>> One thing slowing this tool down is the need to call the librarian 
>> multiple times. DMD -lib will sometimes generate multiple objects with 
>> the same name
> 
> Please post to bugzilla.

http://d.puremagic.com/issues/show_bug.cgi?id=3328


-- 
Tomasz Stachowiak
http://h3.team0xf.com/
h3/h3r3tic on #D freenode



More information about the Digitalmars-d mailing list