Author Topic: executable size  (Read 4670 times)


  • Newbie
  • Posts: 2
executable size
« on: October 17, 2004, 12:12:21 pm »

i downloaded lazarus for windows and installed it, i tried to compile a opengl source code. works fine but when i compile from lazarus, executable size is about 1.6MB, using FPC.EXE i got size about 300kB. then i downloaded original freepascal from using the IDE size was 1MB and using FPC.EXE from there gave me 100kB. it's quite useless to upload 1.6MB instead of 100kB, while the result is same.


  • Sr. Member
  • ****
  • Posts: 422
executable size
« Reply #1 on: October 17, 2004, 01:41:52 pm »
Lazarus makes bigger executables because it links a lot of code.
If you want smaller executables use UPX packer included in FPC.

This topic has been discussed before ;)
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!


  • Guest
executable size
« Reply #2 on: July 04, 2005, 12:17:34 am »
Hello, I'm From Brazil.
For small executables, run the program STRIP.EXE in directory bin of Freepascal or Lazarus.
The sintaxe:
strip.exe --strip-all C:/project1.exe

GoodBye, and excuse-me for bad english!
Júnior Gonçalves, J. I. - -
#328967566 -


TinyPortal © 2005-2018