The binarie-files of a Lazarus project are (by default) big because they have a lot of debuging information included. Otherwise you couldn't not stop at a line of code, for debuging reasons.
Anyway. When you are finished developing you might want a much smaller file.
How to remove the debuging information before re-compile a Lazarus project?
Menu: Project / Project Options
Under "Linking"
Unselect "Generate debugging..."
Re-Build the project. That's it...
Example: BEFORE 40.4 MB-size / AFTER 5.6 MB-size
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.