<div dir="ltr"><div>Hi Simon,</div><div><br></div><div>It would be really great to have pnut be part of a Debian bootstrap build! </div><div><br></div><div>The issue you refer to is stale, pnut can now bootstrap TCC successfully. I'm currently working on packaging the "shell-to-TCC" bootstrap so that people can reproduce my results. You can play with the first steps of the bootstrap process (going from the shell to an executable pnut-exe) by following the instructions in the README[0].</div><div><br></div><div>Also, since a lot of activity is happening on the live-bootstrap side, I opened a PR[1] that demonstrates how pnut can be used to bootstrap TCC and some of the benefits it brings, such as fast bootstrap and small source code size.</div><div><br></div><div>Laurent</div><div><br></div><div>[0]: <a href="https://github.com/udem-dlteam/pnut#reproducible-builds" target="_blank">https://github.com/udem-dlteam/pnut#reproducible-builds</a></div><div>[1]: <a href="https://github.com/fosslinux/live-bootstrap/pull/554" target="_blank">https://github.com/fosslinux/live-bootstrap/pull/554</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 6, 2026 at 5:07 PM Simon Josefsson <<a href="mailto:simon@josefsson.org" target="_blank">simon@josefsson.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Laurent Huberdeau <<a href="mailto:laurenthuberd@gmail.com" target="_blank">laurenthuberd@gmail.com</a>> writes:<br>
<br>
> Hi everyone,<br>
><br>
> I recently finished my master's thesis[0] arguing for the use of POSIX<br>
> shell for diverse double-compilation and reproducible builds. It also<br>
> presents pnut[1], a C compiler capable of bootstrapping itself and TCC<br>
> (Linux i386) exclusively from any POSIX-compliant shell (bash, ksh, dash,<br>
> zsh, etc.) and human-readable source files.<br>
><br>
> Curious to hear your thoughts!<br>
<br>
Wow, that is really impressive! I'm looking into packaging for Debian,<br>
maybe this could be part of a bootstrap build of Debian. But can it<br>
build TCC or not? The README suggests yes but<br>
<a href="https://github.com/udem-dlteam/pnut/issues/63" rel="noreferrer" target="_blank">https://github.com/udem-dlteam/pnut/issues/63</a> suggests no, although it<br>
may be old.<br>
<br>
/Simon<br>
</blockquote></div>