Am 26.03.2012 12:10, schrieb Juha Manninen:
On Mon, Mar 26, 2012 at 12:49 PM, Marco van de Voort <[email protected]
<mailto:[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?

Did this also trigger a recompile of the LCL and all used packages?

Otherwise it might indeed be linker related.

Regards,
Sven


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to