[Lazarus] FPC on Rpi3 executable module sizes

Ken Kashmarek kashken at csteldridge.com
Sat Dec 3 16:58:30 CET 2016


I have solved the problem with modules sizes when compiled under Lazarus FPC
3.0.0 on RPi3.

First, I am able to perform scripted compile and link operations (ie, not
done via the IDE).

Next, by adding the -XX parameter to the compile/link script file, that is:

      fpc -XX sourcefile.pas

the resulting executable file sizes are comparable to those created on
Windows 7.  That is, a 400K executable size drops to approximately 100K.  

Finally, the install of the compiler is in /usr/lib on the RPi3 SSD card.  



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


More information about the Lazarus mailing list