IRC channel logs
2023-10-21.log
back to list of logs
<oriansj>but process_implementations/hkust/steps_dry.pdf and process_implementations/hkust/steps_wet.pdf look do look interesting <clemens3>just watched the from tinycc to nixos bootstrap video on yt <clemens3>nice presentation.. btw, which tinycc version are you aiming at? i got 0.9.25 build on linux from scratch, except the documentation.. the two never versions the builds failed each one for me <matrix_bridge><emilytrau> what compiler are you using to bootstrap tinycc? <stikonas>well, tcc bootstrap is basically a solved problem on x86 (and as of last few days on riscv64 too) <stikonas>so you can always use hex0 instead of gcc :) <clemens3>ok, yeah, but i am just lurking, comeing like the nixos guy from the other side <matrix_bridge><emilytrau> the tinycc to nix bootstrap specifically starts at tinycc 0.9.27 statically linked with musl i believe <stikonas>well, that't a good point to start I guess <clemens3>doing my own linux from scratch, aiming to go over time to more bootstrapping, but not from ground zero, but from high altitute <matrix_bridge><emilytrau> which is different from what we use for bootstrapping from stage0 <matrix_bridge><emilytrau> oh sorry i'm wrong, that bootstrap starts at tinycc mob with musl <matrix_bridge><emilytrau> i'm working on the bootstrap inside nixpkgs. we use a fork called bootstrappable tcc that can be built with mescc <matrix_bridge><emilytrau> gcc 12 shouldn't have a problem compiling tcc 0.9.27, or even the mob (unstable) branch <clemens3>mob works for with 12.2.0. thanks! i try 27 again <clemens3>bcheck.c:738: error: '__malloc_hook' undeclared <clemens3>just in case, for me both either mob and 25 are ok to use <matrix_bridge><cosinusoidally> tcc 0.9.27 is 6 years old. There has been some recent chatter on their mailing list about a new version, but I'll believe that when I see it. <matrix_bridge><cosinusoidally> fwiw 0.9.27 will build fine if you have an older glibc, eg it builds fine on Ubuntu 18.04 <stikonas>which might be preferred for static builds anyway <clemens3>yeah, never got around to musl, but just looking a little bit into c after a few decades on java and ruby