[Lazarus] make clean is leaving more than 20MB stuff behind (this number is after compression!)

Bernd prof7bit at gmail.com
Mon Oct 8 14:58:02 CEST 2012

2012/10/8 Sven Barth <pascaldragon at googlemail.com>:
>> afaik .a result from compiling with -CX.
> No. They are necessary for DLL imports at least on the Windows platforms.

citing the manual: http://www.freepascal.org/docs-html/prog/progse29.html

"When a unit foo.pp is smartlinked, the name of the codefile is
changed to libfoo.a.

Technically speaking, the compiler makes small assembler files for
each procedure and function in the unit, as well as for all global
defined variables (whether they’re in the interface section or not).
It then assembles all these small files, and uses ar to collect the
resulting object files in one archive. "

More information about the Lazarus mailing list