Yocto and Buildroot will compile, from scratch, an entire gcc crosstool chain with standard library suite and headers to build fast and then deploy to your target. This exists.
I wouldn’t call either of those effortless, though. I’m thinking of something similar to Zig’s DX for cross-compilation.
I wouldn’t call either of those effortless, though. I’m thinking of something similar to Zig’s DX for cross-compilation.