[fpc-pascal] Size of program vs library ?

noreply at z505.com noreply at z505.com
Mon May 15 23:34:42 CEST 2017


On 2017-05-15 04:26, fredvs wrote:
> After lot of fight, there is a solution: using -*-gc-sections*.
> 
> And the question was :
> 
> /Why FPC does not provide --gc-sections to the linker with the -XX 
> paramer
> for libraries ? (Bug ?) /


Hopefully that's all there is to it, but how do you know that this 
doesn't just work for your current code and is not reliable for all 
situations?

If that's all there is too it, that's cool! But maybe fpc left it out 
for a reason: like it only works in some test cases of libraries, but 
not all test cases?



More information about the fpc-pascal mailing list