Lazarus

Programming => Packages and Libraries => Lazarus Extra Components => Topic started by: v6sa on October 17, 2004, 12:12:21 pm

Title: executable size
Post by: v6sa on October 17, 2004, 12:12:21 pm
hello!

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 freepascal.org. 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.
Title: executable size
Post by: Lightning 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 ;)
Title: executable size
Post by: Anonymous 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. - hipernetjr@yahoo.com.br
http://www.onixjr.kit.net - http://onixjrportal.e2uhosting.com/forum/portal.php
#328967566 - junior10junior@hotmail.com
TinyPortal © 2005-2018