[fpc-devel] Questions about cross-compiling (z80)
Sven Barth
pascaldragon at googlemail.com
Sat Feb 12 10:23:29 CET 2022
BogDan via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am Sa., 12.
Feb. 2022, 10:18:
> Also, everything that is not used by the application it should be stripped
> by the linker (if it has one). Again I'd like to highlight that I'm new to
> fpc, last time I used pascal it was over 20 years ago :) .
>
The linker can only remove stuff that isn't used. And due to the cross
platform nature of FPC manager approaches are used to make the easier
maintainable which also results in a negative impact there.
But anyway: did you build FPC and the RTL with the -CX option and compile
your application with -XX?
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20220212/de38fa26/attachment.htm>
More information about the fpc-devel
mailing list