IRC channel logs
2025-09-12.log
back to list of logs
<vasi>Googulator: Finally got the Azure Linux bootstrap working!! <ekaitz>what are your feelings about it? <ekaitz>i'm not sure if that's useful in our current bootstrapping chain like the one in live-bootstrap <nimaje>where would you have a posix shell, but not a C compiler, so that you could use that to use as replacement of a C compiler? and it is written in C too, so while it seems like a cool project I don't see a use <ekaitz>nimaje: that's a good point. In guix we have gash, which could do some of this work <matrix_bridge><cosinusoidally> The stock version of pnut is probably also very close to being compilable by cc_x86 or M2-Planet <matrix_bridge><cosinusoidally> pnut can build the tcc-bootstrappable version from live-bootstrap <ekaitz>i'm more interested on skipping tcc than mescc heeh <matrix_bridge><cosinusoidally> I think both pnut and mescc would struggle to build GCC. pnut can't generate separate object code files so you'd probably need to build GCC in one go. I don't know for sure, but I would assume pnut has complete enough support for C so it theoretically could compile GCC. I assume mescc would take quite a while to compile GCC. <ekaitz>yeah... I was thinking on skipping both tcc and mescc and go directly from pnut to gcc <ekaitz>or make mescc faster (i'm working on that) and go directly to GCC <matrix_bridge><cosinusoidally> nimaje: posix shells are installed by default on every posix system, but C compilers are not. <matrix_bridge><cosinusoidally> I think his intention is to ship the shell source code artefact and use that to bootstrap on systems without a C compiler. <matrix_bridge><cosinusoidally> ekaitz: does object code generated by mescc use the same calling convention as GCC? If so it might be possible to replace object code files one by one with ones generated by mescc (though presumably that would also need a conversion pass from the hex2 output from mescc into a form that could be linked) <matrix_bridge><Andrius Štikonas> cosinusoidally: no at the moment mescc generates hex2 files <matrix_bridge><Andrius Štikonas> Maybe i should say not compatible with binutils <matrix_bridge><Andrius Štikonas> And calling convention is almost surely different too