Study: build times for D programs

Jacob Carlborg doob at me.com
Thu Jul 26 02:25:09 PDT 2012


On 2012-07-26 00:17, Nick Sabalausky wrote:

> Aren't there still issues with what object files DMD chooses to store
> instantiated templates into? Or has that all been fixed?
>
> The xfbuild developers wrestled a lot with this and AIUI eventually
> gave up. The symptoms are that you'll eventually start getting linker
> errors related to template instantiations, which will be
> fixed when you then do a complete rebuild.

I'm pretty sure nothing has changed. But Walter said if you use the -lib 
flag it will output the templates to all object files. That will 
complicate things a bit but still possible to make it work.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list