PDA

View Full Version : Large executable size



M109uk
07-09-2007, 05:29 PM
Hi again,

I was just woundering if the large filesize of the application is normal, my exe is around 9.86mb when compiled with lazarus, but only 1.42mb with delphi.. is there a way that i can make the executable smaller from lazarus?

Thanks

arthurprs
07-09-2007, 06:05 PM
LCL have this problem,
but you have to consider some things
* Cross Plataform
* png support
* "FREE"

There are some things you can do to reduce it,
one of then is use UPX on the executable {use --brute option for better compression}

pstudio
07-09-2007, 06:06 PM
perhaps you can find your answer here: http://www.pascalgamedevelopment.com/viewtopic.php?t=4818&start=0

M109uk
07-09-2007, 06:25 PM
Thanks for the replys :)
the size does'nt really bother me as such, i was just woundering if i was doing something wrong lol

although im not too sure about using any compression tools. but how would i go about removing the debugging information?

marcov
14-09-2007, 08:36 PM
Thanks for the replys :)
the size does'nt really bother me as such, i was just woundering if i was doing something wrong lol

although im not too sure about using any compression tools. but how would i go about removing the debugging information?

Search in lazarus option called "strip". There is also a cmdline tool.

Almindor
15-09-2007, 03:08 PM
You don't need to use strip manually! Just make sure to follow this guide: http://www.pascalgamedevelopment.com/viewtopic.php?t=1815

The info you're looking for is at the bottom.