Am 17.10.2016 17:11 schrieb "Martin Schreiber" <mse00...@gmail.com>: > > On Monday 17 October 2016 15:30:36 Graeme Geldenhuys wrote: > > On 2016-10-17 13:55, fredvs wrote: > > > So it seems that garbage collection must be enabled to do a smartlink. > > > > I'm not sure I follow you. From what I understand from the FPC > > documentation, is that FPC (when smartlinking is enabled) generates > > multiple object files per unit, trying to make a object file per procedure. > > > Doesn't it use function-sections nowadays?
It depends on the target. Most targets indeed used section based smartlinking while AFAIK targets like go32v2 use the file based approach. Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal