On Saturday 22 April 2017 03:50:24 Jon Foster wrote:

> Now you're catching my attention... However when I compile test1.pas with
> fpc v3.0.0-3 the finished size is only 26,004 bytes. I don't think you used
> smart linking.
Yup, there was a missing -XX. The correct size with 3.0.2 is 26072 bytes.

> Still it looks impressive. Does your binary require libc? 
ldd test1.bin
        linux-gate.so.1 (0xb77d3000)
        libm.so.6 => /lib/libm.so.6 (0xb775c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb773f000)
        libc.so.6 => /lib/libc.so.6 (0xb7591000)
        /lib/ld-linux.so.2 (0xb77d6000)

> FPC exes don't require any libs so they pack a bit more in the run time,
> rather than linking with libc.

MSEgui also links to libc. There was not a single libc incompatibility issue 
since 1999 so I think it is doable.


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
mseide-msegui-talk mailing list

Reply via email to