2012/10/8 Sven Barth <[email protected]>: >> 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. " -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
