[Lazarus] Large program size - 1.8 MB for empty GUI project (uses clause in initialization vs implementation?)

svaa svaa at ciberpiula.net
Thu Apr 9 11:35:44 CEST 2009


Vincent Snijders escribió:
> No, the initialization section of the graphics unit and its dependencies 
> is used. The lesson is: you cannot smart link away initialization (and 
> finalization) sections of a unit.
>
> Vincent
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>   

Why not?

Is there are a design reason for such behavior?

I mean.
Is there a reason why a linker should never remove such sections?
Or the problem is that it is too difficult  and complex to implement  
such a  smart compiler/linker?

Santiago A.




More information about the Lazarus mailing list