[fpc-pascal] Size of program vs library ?

Michael Van Canneyt michael at freepascal.org
Mon May 15 23:44:35 CEST 2017



On Mon, 15 May 2017, noreply at z505.com wrote:

> On 2017-05-15 04:19, Michael Van Canneyt wrote:
>> If you want to compare today, you need to add the sizes of all the C
>> libraries that are loaded during execution of a C program with the
>> size of an FPC program.
>> 
>> I think you'll find that the sizes of FPC programs are not so different 
>> then.
>> 
>> Just check the size of libc:
>> 
>> ls /lib/x86_64-linux-gnu/libc-2.19.so -l
>
>
> But if FPC also uses libc, in units like unix/linux/other .pp units, 
> that means FPC is using C libs too..

Unless the user specifically includes it: It does not.

Michael.



More information about the fpc-pascal mailing list