[Lazarus] RE : Size of binaries etc.

Ludo Brands ludo.brands at free.fr
Fri Mar 23 11:30:59 CET 2012


> > 
> > Cody values are before smart linking.
> > 
> > I heard there is a compiler flag that shows information after smart 
> > linking.
> 
> If anybody has any thoughts as to how to enable this I'd be 
> interested 
> to know. Otherwise I'll just have to live with the issue, 
> noting that in 
> general it's a one-time overhead.
> 

Adding -Xm to the compiler options will create a link map. This contains a
long list of what references what and the functions kept or removed by the
linker.

Ludo





More information about the Lazarus mailing list