<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/11/22 19:14, Sven Barth via
fpc-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFMUeB_0AC4-nM_28nzDfV0JAvBSLcKXqAfzOWWSYO+mEVR6LA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Tomas Hajny via fpc-devel
<<a href="mailto:fpc-devel@lists.freepascal.org"
moz-do-not-send="true" class="moz-txt-link-freetext">fpc-devel@lists.freepascal.org</a>>
schrieb am Fr., 11. Feb. 2022, 17:24:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">On
2022-02-11 14:14, Sven Barth via fpc-devel wrote:<br>
> BogDan via fpc-devel <<a
href="mailto:fpc-devel@lists.freepascal.org"
target="_blank" rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">fpc-devel@lists.freepascal.org</a>>
schrieb am Fr.,<br>
> 11. Feb. 2022, 11:09:<br>
<br>
.<br>
.<br>
>> It seems is an IHX format not tzx<br>
>> Also the result for a simple hello world is way
too big (over 20k) !<br>
>> I assume that I'm passing wrong params to
ppcrossz80. What params<br>
>> should I use? Where I can find more info on this
matter?<br>
> <br>
> You need to make sure that the ihxutil built in<br>
> utils/ihxutil/<hostcpu>-<hostos>/ is
available in PATH, so that the<br>
> compiler will do the conversion.<br>
<br>
@Sven: Sorry for a silly question, but shouldn't the
compiler emit some <br>
error message if the tool isn't available?<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">It wasn't me who implemented it. But at least a
warning or note might be good, cause the output *is* usable
after all. <br>
</div>
</div>
</blockquote>
<p>Added an error in:</p>
<p><a class="moz-txt-link-freetext" href="https://gitlab.com/freepascal.org/fpc/source/-/commit/3c91a7c01ea16f5fc9239b21636d4127faacaf31">https://gitlab.com/freepascal.org/fpc/source/-/commit/3c91a7c01ea16f5fc9239b21636d4127faacaf31</a></p>
<p>The error looks like this:</p>
<p>Free Pascal Compiler version 3.3.1 [2022/02/13] for z80<br>
Copyright (c) 1993-2022 by Florian Klaempfl and others<br>
Target OS: ZX Spectrum<br>
Compiling hello.pas<br>
Linking hello.tzx<br>
hello.pas(4,1) Error: Util ihxutil not found, switching to
external linking<br>
hello.pas(4,1) Fatal: There were 1 errors compiling module,
stopping<br>
Fatal: Compilation aborted<br>
</p>
<p>Additionally, there's an extra message that the tool is being
used, when you compile with -vt and the tool is found.</p>
<p>Nikolay<br>
</p>
<blockquote type="cite"
cite="mid:CAFMUeB_0AC4-nM_28nzDfV0JAvBSLcKXqAfzOWWSYO+mEVR6LA@mail.gmail.com">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">Regards, </div>
<div dir="auto">Sven </div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-devel maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
</blockquote>
</body>
</html>