[Lazarus] FPC on Rpi3 executable module sizes

Bo Berglund bo.berglund at gmail.com
Sun Oct 30 08:34:36 CET 2016


On Sun, 30 Oct 2016 00:05:02 -0700 (MST), Ken Kashmarek via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>On RPi3 (output from ls -l):
>                                  SIZE
>-rwxr-xr-x 1 pi pi  408892 Oct 29 07:47 hello
>-rw-r--r--   1 pi pi    12876 Oct 29 07:47 hello.o
>-rw-r-----   1 pi pi     5164 Oct 29 07:47 hello.pas
>
>
>The executable file sizes are rather extreme for programs tha run from an
>terminal session.  The output from execution is the same.  
>
>
>I have turned off a number of options that could have been contributing to
>this issue (such as eliminaing debug code and symbols).
>
>
>Any possible considerations for the size difference?

Debug symbols still included in the output maybe?
Try this:
strip -s hello


-- 
Bo Berglund
Developer in Sweden



More information about the Lazarus mailing list