[fpc-devel] Binary size discrepancy with -a
Benito van der Zander
benito at benibela.de
Sun Jul 19 07:33:48 CEST 2020
Hi J. Gareth,
I once added -a to debug my Android app, and then it did not start
anymore on some devices...
Bye,
Benito
On 19.07.20 05:09, J. Gareth Moreton wrote:
> Hi everyone,
>
> I've noticed something a bit weird with the Free Pascal Compiler when
> you use the the -a option to dump the compiled assembly files... the
> resultant binaries are sometimes smaller. I recently tried it with
> Lazarus under x86_64-win64 (using "make distclean all install" with
> FPCOPT):
>
> (-O4 -OoCONSTPROP)
> 241,010,289 bytes - lazarus.exe
>
> (-a -O4 -OoCONSTPROP)
> 235,655,062 bytes - lazarus.exe
>
> Anyone else noticed this? Logically, shoudn't the EXE files be
> completely identical?
>
> Gareth aka. Kit
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20200719/2876e716/attachment-0001.htm>
More information about the fpc-devel
mailing list