Forum > General

why was rebuilded lazarus.exe file size increased tenfold?

(1/1)

bd4kc:
Why was it only a few dozen MB when it was first installed, and after the package was installed, the rebuilded lazarus.exe the file size to 260MB.

lucamar:
Because you rebuilt it with debug info turned on? ;)

bd4kc:

--- Quote from: lucamar on December 12, 2020, 03:15:36 pm ---Because you rebuilt it with debug info turned on? ;)

--- End quote ---

 Oh! I also thought that the IDE built itself, and that it should make its own decisions.Forget that the ide itself can be debugged.

wp:
You can run the "strip" utility (which is in the fpc/bin folder) against the lazarus.exe to remove the debug info.

Bart:

--- Quote from: bd4kc on December 12, 2020, 02:58:57 pm ---Why was it only a few dozen MB when it was first installed, and after the package was installed, the rebuilded lazarus.exe the file size to 260MB.

--- End quote ---

This is done to prevent illegal redistribution of Lazarus IDE using floppy disks  O:-)

Bart

Navigation

[0] Message Index

Go to full version