IRC channel logs

2025-11-07.log

back to list of logs

<LaurentH>Got pnut-exe working with live-bootstrap: https://github.com/fosslinux/live-bootstrap/pull/554. It's still very work in progress, but I'm curious to see if there is interest for integrating pnut in live-bootstrap before spending time polishing it
<stikonas>I guess the main worry for now would be that pnut is x86 specific? Or does it support other arches?
<stikonas>but I guess it shouldn't be too hard to part pnut to other arches
<LaurentH>That's right, pnut-exe only works for x86 and amd64 right now. Adding an ARM backend is definitely on the roadmap and should be relatively straightforward
<LaurentH>The 2 primary reasons I see for having support for pnut-exe are faster times to reach TCC (~1 minute instead of >10 minutes on my machine) and an diversity of bootstrapping paths
<matrix_bridge><cosinusoidally> I assume it's probably still the case, but pnut also uses less memory than mescc.
<stikonas>Well, arm (or aarch64 bootstrap) of tcc is not possible at all now (I think)
<stikonas>we have riscv64 bootstrap via mescc but it needs a bit more stabilization
<stikonas>LaurentH: by the way, have you by any chance tried building tcc-mob directly?
<stikonas>or only that bootstrappable tcc fork?
<LaurentH>I haven't tried tcc-mob, pnut can only compile bootstrappable tcc and maybe tcc-0.9.27 since it's very close to bootstrappable tcc
<LaurentH>What's the problem with an ARM bootstrap with TCC? I thought it had a working ARM backend