[fpc-pascal] Will the size of an executable depend on the uses clause
Bo Berglund
bo.berglund at gmail.com
Wed Jun 16 13:32:19 CEST 2021
On Wed, 16 Jun 2021 12:30:55 +0200, Mattias Gaertner via fpc-pascal
<fpc-pascal at 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
More information about the fpc-pascal
mailing list