Solutions to the TypeInfo dependency injection issue?

kris foo at bar.com
Thu Mar 8 12:23:00 PST 2007


Walter Bright wrote:

> This situation also only crops up when you're passing all the modules at 
> once to dmd, and then putting the resulting object files into a library. 
> Try compiling the modules independently when they are intended to be put 
> in a library.

Could you please be explicit about what the distinctions would be? And 
how it would affect template generation also?

Please assume I am a complete idiot, and lead me through step-by-step:

(a) what the implications are for discrete versus "batch" compilation

(b) how the different compilation approaches lead to differing results

(c) how templates are affected at each step

I'm hoping this will lead to a "comprehensive" set of instructions to 
help others create useful libs for WIn32 with DM tools. The longer and 
more detailed these intructions are, the better it will be for D




More information about the Digitalmars-d mailing list