Incremental compilation with DMD
Walter Bright
newshound1 at digitalmars.com
Thu Sep 17 03:34:54 PDT 2009
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.
> 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.
More information about the Digitalmars-d
mailing list