[Lazarus] Size of binaries etc.

Juha Manninen juha.manninen62 at gmail.com
Mon Mar 26 12:10:32 CEST 2012


On Mon, Mar 26, 2012 at 12:49 PM, Marco van de Voort <marcov at stack.nl>wrote:

> -CX compiles units with smartlinking
>
> -XX compiles binaries with smartlinking.
>
> When -XX is used, only units compiled with -CX will give size benefits (if
> relevant)
>

Ok, I added -XX and rebuilt Lazarus. Still the binary has exactly the same
size as before.
The flags:

 -O2 -g- -Xs
and
  -O2 -g- -Xs -CX -XX

both produce an executable of size 23649 KB on my 64-bit Linux system using
QT bindings.
Is it a Linux linker related issue?

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120326/4fbc2ded/attachment-0003.html>


More information about the Lazarus mailing list