<div dir="auto">OK, so why test for a bootstapping compiler (<a href="http://configure.ac">configure.ac</a>: 386-646) if it is not useful at all -- I mean in the case of building an ROTD?  <div dir="auto">This configure step strikes me as a source of possible building issues for ROTDs / releases.</div><div dir="auto">In case that a slightly older yet "broken" Mercury compiler is in the PATH, configure will fail, whereas it would build fine with a clean PATH. (This is *not* what happened in my prior alert, but I stumbled into this a year ago).</div><div dir="auto"><br></div><div dir="auto">Why not deactivate this <a href="http://configure.ac">configure.ac</a> chunk out of ROTDs, perhaps by enforcing BOOTSTRAP_MC="", instead of AC_PATH_PROG(BOOTSTRAP_MC, mmc) in <a href="http://configure.ac:376">configure.ac:376</a>? </div><div dir="auto">As long as mercury_compile.c is shipped with ROTDs, this AC_PATH_PROG m4 macro is only useful for building the git source code.</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 23 janv. 2022 à 11:39 PM, Zoltan Somogyi <<a href="mailto:zoltan.somogyi@runbox.com">zoltan.somogyi@runbox.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
2022-01-24 09:32 GMT+11:00 "Fabrice Nicol" <<a href="mailto:fabrnicol@gmail.com" target="_blank" rel="noreferrer">fabrnicol@gmail.com</a>>:<br>
> This is because you have relatively fresh,  intermediate bootstrapping<br>
> compilers that enable you to build ROTDs. Once in a while, this build chain<br>
> breaks down unless you update your bootstrapping compiler itself.<br>
<br>
No, he is right; I was wrong. You are right that if you want to compile an ROTD<br>
from Mercury to executable, you need a recent Mercury compiler, and this is<br>
indeed what I was thinking of when I sent my original email, but he is also right<br>
in that you do not *have to* compile ROTDs from Mercury: because they ship<br>
with pre-built .c files, you do not need a working Mercury compiler at all.<br>
(Unless of course some internet gremlin mangles those .c files.)<br>
<br>
Zoltan.</blockquote></div>