Am 23.06.2020 um 18:59 schrieb popolon...@popolony2k.com.br:
Thanks a lot. Everything is working fine. I compiled my first FPC code (simple hello world)  to MSX-DOS2 and is working fine.

Good to know. :)

The only thing I realized, is something someone here wrote before, that is the size of generated binary (37 Kb considering this simple program) I really don't know what's the reason but if is something about future Z80 code generation optimization please let me know and I can help with it.


Nikolay (who had pushed the Z80 port across the finishline) already pointed out some stuff that can be improved.

Especially that the RTL is linking in quite some stuff that might not be used is an important point of the bloat (you can use -Xm to have the linker generate a map file so that you can see what is included). We're working on improving things here, but it's a step by step process, especially as the cross platform parts of the RTL need to keep working for other platforms as well.

Contributions are however welcome.

It might also be interesting to compare the code that FPC generates with the one that TP3 generates.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to