Free Pascal App Tutorial 2 - Shrinking The Application File Size - Lazarus

preview_player
Показать описание

As seen in Tutorial 1, the file size of the App was about 12 - 15 MB. Using modified compiler options, the same code will make the same App with a file size of 1.5 MB.

To change the compiler options:

Check The Box:
Project - Project Options - Compiler Options - Code Generation - Unit Style - Smart Linkable (-CX)

Within Project - Project Options - Compiler Options - Linking - Debugging -
Uncheck All Boxes Except - Strip Symbols From Executable (-Xs)

Check The Box:

Project - Project Options - Compiler Options - Linking - Link Style - Link Smart (-XX)
Рекомендации по теме
Комментарии
Автор

Hello can u tell me how to increase font size on lazarus

Weranga-Rathnayaka
Автор

sorry I think I did something wrong, it is now 2 mb :D

marcaroni