[fpc-pascal] Will the size of an executable depend on the uses clause

Marco van de Voort fpc at pascalprogramming.org
Thu Jun 17 12:35:22 CEST 2021


Op 2021-06-16 om 23:49 schreef Jean SUZINEAU via fpc-pascal:
> My best score is 67 kb after strip -s with the code below ... ;-)

The fact that you use "result" for function result indicates that you 
use a object pascal mode,  and not the default. If you don't do that 
(compile in the default mode , fpc), I get

35,328 uptime.exe

with FPC 3.2.2


More information about the fpc-pascal mailing list