On Mon, Mar 26, 2012 at 12:49 PM, Marco van de Voort <[email protected]>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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to