<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>FPC Team.</p>
<p><br /></p>
<p>Thanks a lot. Everything is working fine. I compiled my first FPC code (simple hello world) to MSX-DOS2 and is working fine.</p>
<p>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.</p>
<p>Now I have a long path to run, that is porting my legacy code to FPC.</p>
<p><br /></p>
<p>Thanks</p>
<p>PopolonY2k</p>
<div> </div>
<p><br /></p>
<p>Em 23/06/2020 12:53, popolony2k@popolony2k.com.br escreveu:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p>Hi Sven thank you.</p>
<p>I had read wiki and understood the same as you explained here. Now I'm using another machine based on Debian, instead my other machine based on Mint and seems that worked like you wrote.</p>
<p>Now I built everything and I checked these generated files on RTL and compiler directories and was generated like you mentioned. I'll try again on Mint.</p>
<p>"(and I hope you mean OS_TARGET and not OS_VERSION ;))"........you're right again - my mistake.</p>
<p>Thanks a lot.</p>
<p>PopolonY2k</p>
<p>Em 23/06/2020 12:11, Sven Barth escreveu:</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<div dir="auto">
<div>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr"><<a href="mailto:popolony2k@popolony2k.com.br">popolony2k@popolony2k.com.br</a>> schrieb am Di., 23. Juni 2020, 15:56:</div>
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hi FPC team.</p>
<p>I'm trying to compile a FPC 3.2 with support to Z80/MSXDOS, for linux and almost everything seems to be compiling fine, because the compiler was generated but RTL was not.</p>
<p>I'm using the same build script of zxspectrum (I just changed OS_VERSION to MSXDOS) that can be reached here <a href="https://wiki.freepascal.org/Z80" target="_blank" rel="noopener noreferrer">https://wiki.freepascal.org/Z80</a> (follow the Building paragraph).</p>
</div>
</blockquote>
</div>
</div>
<div dir="auto">
<div dir="auto" style="font-family: sans-serif;">As I've mentioned here: <a href="https://wiki.freepascal.org/MSX-DOS#Building_a_program" target="_blank" rel="noopener noreferrer">https://wiki.freepascal.org/MSX-DOS#Building_a_program</a> </div>
<div dir="auto" style="font-family: sans-serif;">A full build will fail for now (because the Sysutils unit and others are missing), but as long as you get a ppcrossz80 in the compiler directory and at least a system.a and si_prc.a in rtl/units/z80-msxdos you're all set :) (and I hope you mean OS_TARGET and not OS_VERSION ;)) </div>
<div dir="auto" style="font-family: sans-serif;"> </div>
<div dir="auto" style="font-family: sans-serif;">Regards,</div>
<div dir="auto" style="font-family: sans-serif;">Sven</div>
</div>
<div dir="auto"> </div>
</div>
</blockquote>
<!-- html ignored --><br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br /> <a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" target="_blank" rel="noopener noreferrer">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a></div>
</blockquote>
</body></html>