Lib change leads to larger executables

Carlos Santander csantander619 at gmail.com
Thu Mar 8 06:19:14 PST 2007


Sean Kelly escribió:
> 
> It's a long-term proposition, but what about delaying the generation of 
> TypeInfo until link-time?  The MS linker already optionally performs 
> code generation to allow for more optimized executables, so I assume 
> such a thing is definitely possible.  It would obviously require a new 
> linker, but I don't see any other way to address these "silent 
> dependency" issues, etc.  If I had the time I'd try it out, but as 
> things stand there's no way that could happen before September.
> 
> 
> Sean

Unless I'm missing something, I don't think a new linker would be required. The 
compiler could just check if -c is passed. If it is, don't generate those 
TypeInfos, otherwise, do.

-- 
Carlos Santander Bernal



More information about the Digitalmars-d mailing list