On Wed, 16 Jun 2021 12:30:55 +0200, Mattias Gaertner via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:

>> 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.
>
I commented it away ane recompiled.
Worked fine so Classes is not needed. :)

And the executable size after strip -s is now 126 kb. A big improvement!

But compile did not say used unit Classes was not needed...


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to