[fpc-devel] Questions about cross-compiling (z80)

Sven Barth pascaldragon at googlemail.com
Fri Feb 11 23:11:40 CET 2022

BogDan <bog_dan_ro at yahoo.com> schrieb am Fr., 11. Feb. 2022, 22:20:

> Hi,
> Thanks a lot for your quick reply.
> Adding ihxutil to path fixed the problem.
> But the size problem is stil there, a simple 2 lines of code "begin;
> end."  generates over 32k of code. That code should not generate more than
> 8 bytes of code.
> Are there any flags that I need to use to make the code smaller?

The System unit initialization is larger than 8 Byte. A program does not
begin with "begin".


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20220211/ab0b28ff/attachment-0001.htm>

More information about the fpc-devel mailing list