[fpc-pascal] Size of program vs library ?

Fred van Stappen fiens at hotmail.com
Mon Feb 3 20:37:18 CET 2014


> Date: Mon, 3 Feb 2014 18:30:57 +0100
> From: michael at freepascal.org
> To: fpc-pascal at lists.freepascal.org
> Subject: Re: [fpc-pascal] Size of program vs library ?
> 
> 
> 
> On Mon, 3 Feb 2014, Fred van Stappen wrote:
> 
> > Hello.
> > 
> > Here size of "nude" program and library compiled with fpc 2.7.1.
> > Why is it a so big size-difference ?
> > 
> > Compiled with => fpc 2.7.1 => linux 64
> > Compiler parameters : -MObjFPC -Scghi -CX -Os1 -Xs -XX -vewnhi -fPIC
> 
> I suspect PIC is to blame. This adds a lot of tables to your library.
> 
> Michael.

Hum, when compile with or without -fPIC, it does not change anything,... i get exactly the same size...
 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140203/53b126c0/attachment.html>


More information about the fpc-pascal mailing list