<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>> Date: Mon, 3 Feb 2014 18:30:57 +0100<br><div>> From: michael@freepascal.org<br>> To: fpc-pascal@lists.freepascal.org<br>> Subject: Re: [fpc-pascal] Size of program vs library ?<br>> <br>> <br>> <br>> On Mon, 3 Feb 2014, Fred van Stappen wrote:<br>> <br>> > Hello.<br>> > <br>> > Here size of "nude" program and library compiled with fpc 2.7.1.<br>> > Why is it a so big size-difference ?<br>> > <br>> > Compiled with => fpc 2.7.1 => linux 64<br>> > Compiler parameters : -MObjFPC -Scghi -CX -Os1 -Xs -XX -vewnhi -fPIC<br>> <br>> I suspect PIC is to blame. This adds a lot of tables to your library.<br>> <br>> Michael.<br><br>Hum, when compile with or without -fPIC, it does not change anything,... i get exactly the same size...<br> <br></div> </div></body>
</html>