<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello.</p>
<p>While looking at fpc.cfg created by latest FPC 3.3.1 Linux .sh
installer, I noticed the following section in it:</p>
<div class="js-line log-line"><font face="monospace"><span
class="gl-white-space-pre-wrap"># never need cross-prefix when
targeting the JVM</span></font></div>
<div class="js-line log-line"></div>
<code data-qa-selector="job_log_content" class="job-log d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap"># (no native compiler, always
cross-compiling)</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#ifdef cpujvm</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#undef NEEDCROSSBINUTILS</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#endif</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap"><br>
</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap"># for android cross-prefix is
set by compiler</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#ifdef android</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#undef NEEDCROSSBINUTILS</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#endif</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap"><br>
</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap"># never need cross-prefix when
targeting the i8086</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap"># (no native compiler, always
cross-compiling)</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#ifdef cpui8086</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#undef NEEDCROSSBINUTILS</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#endif</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap"><br>
</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap"># never need cross-prefix when
targeting the i8086</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap"># (no native compiler, always
cross-compiling)</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#ifdef cpujvm</span></div>
<div class="js-line log-line"></div>
</code><code data-qa-selector="job_log_content" class="job-log
d-block">
<div class="js-line log-line"><span
class="gl-white-space-pre-wrap">#undef NEEDCROSSBINUTILS</span></div>
<div class="js-line log-line"><code
data-qa-selector="job_log_content" class="job-log d-block"><span
class="gl-white-space-pre-wrap">#endif</span></code></div>
</code>
<p><code data-qa-selector="job_log_content" class="job-log d-block"><span
class="gl-white-space-pre-wrap">The last clause in it seems to
be a result of some copy-paste error: its comment erroneously
refers to i8086 (</span></code><code
data-qa-selector="job_log_content" class="job-log d-block"><span
class="gl-white-space-pre-wrap"><code
data-qa-selector="job_log_content" class="job-log d-block"><span
class="gl-white-space-pre-wrap">which has already been
checked</span></code>), while IFDEF checks for cpujvm,
which has already been checked too.<br>
</span></code></p>
<p></p>
<pre class="moz-signature" cols="72">--
Best regards,
Maxim Ganetsky <a class="moz-txt-link-freetext" href="mailto:ganmax@narod.ru">mailto:ganmax@narod.ru</a></pre>
</body>
</html>