[fpc-devel] don't youthinkit'stime toupdatedelphimodecompatibility? - IDispatch, implements

Florian Klaempfl F.Klaempfl at gmx.de
Sun May 29 13:51:32 CEST 2005


Matthias Hryniszak wrote:
>> If you want dead code to be stripped from your own written code, you 
>> must turn on the generation of smartlinkable code (-CX), and of 
>> course also smartlinking (-XX)
> 
> 
> Of course I've done that already - it didn't help! That's why I suggest
> this is a bug. Delphi removes my procedure and leaves the executable
> size like it should be (86400b).

Well, 132k agaist 86k. That's the price for the portable rtl and usually
faster code.

> 
> Matthias.
> 
> PS. Try to compile it yourself and if you'll come to the sitiation when
> both examples compile to the same size I'll be glad to hear how did you
> do that.

Nobody said that the same size can be reached, but I don't consider 132k
against 86k as a real problem. If you consider it as a problem, use Delphi.




More information about the fpc-devel mailing list