[Lazarus] FPC on Rpi3 executable module sizes

Ken Kashmarek kashken at csteldridge.com
Wed Nov 2 15:59:08 CET 2016


I used Bo Berglund's script to install FPC (including Lasarus) on my RPi3.
That script is long and complicated and making changes to it would be in his
domain.  I suspect there are some issues with any options dealing with smart
linking and debug symbols.  I hope he gets a chance to review the script in
this regard.  If your 'uses' clause includes several items, that can easily
drive the executable file size over a megabyte (disasterous on any Raspberry
Pi node).  With no 'uses' clause, over 200K is added to the executable file
anyway.  

By the way, since this isn't a normal apt-get style install, deleting the
result of a successful execution of Bo's script, will be quite an effort. 
The install itself does add 840 meg to your SD card (all the source files
and bloated library files of every kind).  

Ken



--
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/FPC-on-Rpi3-executable-module-sizes-tp4050126p4050151.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.


More information about the Lazarus mailing list