Difference between revisions of "Lazarus Faq/hu"

From Free Pascal wiki
Jump to navigationJump to search
m (New page: {{Lazarus Faq}} hamarosan... <!-- == General == ===Why are the generated binaries so big?=== The binaries are big because they include a lot of debug information necessary for using gdb (...)
 
m
Line 1: Line 1:
 
{{Lazarus Faq}}
 
{{Lazarus Faq}}
 +
 
hamarosan...
 
hamarosan...
 
<!--
 
<!--
 
== General ==
 
== General ==
  
===Why are the generated binaries so big?===
+
===Miért olyan nagyok a létrehozott binárisok?===
The binaries are big because they include a lot of debug information necessary for using gdb (GNU Debugger).
+
A binárisok azért nagyok, mert hibakeresési információkat is tartalmaznak, amelyekre a gdb (GNU Debugger) használatakor van szükség.
  
The compiler has an option to remove the debug information from the executable (-Xs), but due to a bug in the compiler (version 2.0.2 and earlier), this doesn't work correctly. It has been fixed in version 2.0.4 and later of the compiler.
+
A fordítónak van egy kapcsolója amellyel el lehet távolítani a hibakeresési információkat a futtatható állományból (-Xs), de egy hiba miatt (a 2.0.2 és korábbi változatokban) ez nem működik megfelelően. A hiba már javítva van a fordító 2.0.4 és későbbi változataiban.
  
You can use a program called "strip" to remove the debug symbols from the executable file. It is located under lazarus dir lazarus\pp\bin\i386-win32\.
+
Használhatod a 'strip' nevű programot a hibakeresési szimbólumok eltávolításához a futtatható állományból. Ez a lazarus könyvtárában található (például: lazarus\fpc\bin\i386-win32\).
  
Just type "strip --strip-all <your executable file with path>" on the command line.
+
Csak írd a parancssorba: "strip --strip-all <a_futtatható_fájl_neve_útvonallal>".
  
If you want to make your program even smaller, you should try [http://upx.sourceforge.net/ UPX] too. UPX is a very good exe compressor. It includes no memory overhead due to in-place decompression. It also has a very fast decompression (~10 MB/sec on an Pentium 133).
+
Ha még kisebbre akarod a programod méretét, kipróbálhatod az [http://upx.sourceforge.net/ UPX] programot. Az UPX egy nagyon jó tömörítő kifejezetten futtatható állományok tömörítéséhez.  
 +
It includes no memory overhead due to in-place decompression.  
 +
Nagyon gyorsan tömöríti ki az állományokat (~10 MB/másodperc egy Pentium 133 gépen).
  
To use upx just type "upx <your executable file with path>" on the command line.
+
Az UPX hazsnálatához írd a parancssorba: "upx <a_futtatható_fájl_neve_útvonallal>".
  
 
after using both strip and upx a simple GUI Lazarus program gets:
 
after using both strip and upx a simple GUI Lazarus program gets:

Revision as of 09:36, 8 July 2010