Recent

Author Topic: why was rebuilded lazarus.exe file size increased tenfold?  (Read 3689 times)

bd4kc

  • New Member
  • *
  • Posts: 46
why was rebuilded lazarus.exe file size increased tenfold?
« 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.

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: why was rebuilded lazarus.exe file size increased tenfold?
« Reply #1 on: December 12, 2020, 03:15:36 pm »
Because you rebuilt it with debug info turned on? ;)
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

bd4kc

  • New Member
  • *
  • Posts: 46
Re: why was rebuilded lazarus.exe file size increased tenfold?
« Reply #2 on: December 12, 2020, 03:45:30 pm »
Because you rebuilt it with debug info turned on? ;)

 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

  • Hero Member
  • *****
  • Posts: 11854
Re: why was rebuilded lazarus.exe file size increased tenfold?
« Reply #3 on: December 12, 2020, 04:55:25 pm »
You can run the "strip" utility (which is in the fpc/bin folder) against the lazarus.exe to remove the debug info.

Bart

  • Hero Member
  • *****
  • Posts: 5275
    • Bart en Mariska's Webstek
Re: why was rebuilded lazarus.exe file size increased tenfold?
« Reply #4 on: December 12, 2020, 05:44:13 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.

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

Bart

 

TinyPortal © 2005-2018