[fpc-devel] Assembler file option (-a)

Christo Crause christo.crause at gmail.com
Fri Dec 31 16:32:41 CET 2021


On Fri, Dec 31, 2021 at 4:41 PM Marco Borsari via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:

> Hi,
> on Linux with FPC 3.2.2 the executable size of programs compiled with
> fpc -On -a (tried with n 2 or 4)
> is smaller than when the assembler files are deleted (-a omitted).
> Does it is an expected behaviour?
>

Using any of the -a options (not sure about -a5?) to output assembly also
automatically switches to an external linker (for targets with internal
linkers).  Differences in the executables are thus attributable to
differences in generated output between the internal and external linkers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20211231/a0abb9f5/attachment.htm>


More information about the fpc-devel mailing list