On Wed, 16 Jun 2021 12:26:54 +0200 Bo Berglund via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:
> On Wed, 16 Jun 2021 12:08:26 +0200 (CEST), Michael Van Canneyt via > fpc-pascal <fpc-pascal@lists.freepascal.org> wrote: > > >FPC/lazarus tell you which units are unused, and in the Lazarus IDE > >you can use the quick actions of the message dialog to quickly > >remove all unused units. I use it all the time. > > Thanks, I will have a look and see what happens if you tell me where > in Lazarus to look. Compile. When the compiler gives the message unit not used. Right click on the message. > Since the final binary size after using strip -s on the exe file is > 271 kb it seems a bit big! > Or is there a lot behind the scenes I have missed? Classes is a hog. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal