[fpc-pascal] Why win64 program are considerably bigger in exe size than win 32?

Florian Klämpfl florian at freepascal.org
Sun Dec 31 14:38:04 CET 2017


Am 31.12.2017 um 00:19 schrieb Martok:
> 
> And now the on-topic part: this compares an "empty" project (Lazarus:
> Project->New->Program), compiled for win32 and win64
> <http://puu.sh/yR0Qs/6e26a74cc9.png>
> As you can see, the win64 image is about a third larger - but not so much
> because of the code segments (they end shortly after the cyan "bar" for typinfo,
> before the second occurrence of classes), but more so because of the data
> sections following.

Keep in mind that i386 generates exception handling in code so the "data" of .xdata is basically
included in .text on i386.

> A lot of that is unwind info (.xdata), I'm afraid I don't
> know what .pdata usually is.



More information about the fpc-pascal mailing list