[Lazarus] Lazarus program files very big, why?

Bo Berglund bo.berglund at gmail.com
Sun Oct 4 00:06:00 CEST 2015


I installed Lazarus on my Pi2B (see other therad) and am now using fpc
3.1.1 and Lazarus 1.5. I also installed tightvnc for GUI access via
VNC from my Win7 PC.

My first test program on the Pi2B is a GUI application with 2 edit
boxes and 2 buttons to test MD5 calculations. One button calculates
MD5 of a text in one edit box and displays on the other.
The other button calculates the MD5 of the Application.Exename (its
own executable file) and displays the executable file name in one edit
box and MD5 in the other. Total lines of code in the two events are 7.

Amazingly this little program is 24.5 Mbytes as shown:
-rwxr-xr-x 1 root root 24493881 Oct  3 21:35 project1

So my questions are:
1) Why is Lazarus creating such an enormously big executable file?
2) Why is it placing the project files in /root/tmp?
Why not in /home/pi/something_or_other?

Is this normal or have I installed Lazarus in some strange way that
bypasses the user Pi?


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list