Lazarus Faq/hu

From Free Pascal wiki
Revision as of 06:56, 29 September 2010 by Anson (talk | contribs)
Jump to navigationJump to search

{ { Lazarus Faq } }


Lazarus GY.I.K. < / font >

in progress ...



General

Why is it so big the up binaries ?

The binaries are large because they debug information contain , which gdb (GNU Debugger ) is necessary to use .

The compiler has a switch which can be removed from the debugging information in the executable file (- Xs ), but because of an error ( 2.0.2 and earlier versions ) it will not work properly . The error been corrected has the compiler 2.0.4 and in future versions of .

You can use ' strip 'is a program the debug symbols to remove in the executable file. lazarus directory (for example, lazarus \ fpc \ bin \ i386- win32 \).

Just type the command " strip - strip -all <a_futtatható_fájl_neve_útvonallal> ".

If an even smaller you want your program size of , you can try [ http://upx.sourceforge.net/ UPX ] program. The UPX is a very good compression specifically executable files to compress . It includes no memory overhead due to in-place decompression . Very quickly compress the files (~ 10 MB / sec in a Pentium 133 machine).

The UPX hazsnálatához enter the command : " upx <a_futtatható_fájl_neve_útvonallal> ".

After each command ( strip and upx ) is finished, a Lazarus - VERSION made a simple GUI application size approx . many will be :

  • ~ 700KB on Linux
  • ~ 420kb on Windows

A more detailed response to the UPX of using potential drawbacks also can be found here : [ [Size Matters ]]