[fpc-pascal] Smart link in FreeBSD multi-arch ?
Sven Barth
pascaldragon at googlemail.com
Mon Oct 17 20:07:32 CEST 2016
Am 17.10.2016 17:11 schrieb "Martin Schreiber" <mse00000 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20161017/c53101cb/attachment.html>
More information about the fpc-pascal
mailing list