On Sat, 7 Nov 2026 07:37:39 -0700, Peter Flass wrote:
> But then you add all the cruft that GCC drags in ...
You can build programs with GCC that don’t use glibc. Back when I got my first 64-bit machine, I tried to build the smallest program I could: it took a number as a command-line argument, and slept for that number of seconds. This gave me time to do a ps listing to see how much memory it was using. I built it against one of the alternative cut-down libc alternatives -- maybe musl or uclibc. ps reported that it was using just 20kB of memory.