[Lazarus] Size of binaries etc.

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Tue Mar 27 10:27:46 CEST 2012

Graeme Geldenhuys wrote:
> 2012/3/26 Juha Manninen <juha.manninen62 at gmail.com>:> 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?
> I have never found the -Xs to work under Linux. 32-bit or 64-bit. IALWAYS have to manually do a 'strip <executable>' after compiling. Idon't know if this is a FPC bug or some linker issue, but I do knowthe issue has been around for ages.

When I was looking at this last week on x86 32-bit, I didn't have to do 
a manual strip. Or rather, I did it as a test and found no change (i.e. 
there were zero-point-zero bytes left to remove).

There's always a possibility that this depends on the binutils version, 
or is a 64-bit issue.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the Lazarus mailing list