[fpc-pascal]problem with ld and / or freepascal

Marco van de Voort marcov at stack.nl
Sun Jun 20 13:09:08 CEST 2004


> I'm writing a program that semi-automatically reviews itself. Among 
> other parameters used to evaluate the quality of a given version, I use 
> the size of it's executable file. Though meaningful and even a small 
> performance issue, this parameter is very coarse-grained. Does 
> Freepascal invent any granularity by allocating code or constant data in 
> some kind of pages? Or is this a pure linker problem? (linux ld, sorry 
> if off-topic).

It's ld.

a.out typically has 2048 byte granularity, ELF 4096 afaik.




More information about the fpc-pascal mailing list