Why you should try IX
IX renders obsolete many different ways to compile statically linked binaries:
ix# ix build --target=linux-aarch64 --for_target=linux-riscv64 bin/gcc bin/binutils
ix# ix build --target=linux-aarch64 bin/clang/16
ix# ix build --target=linux-aarch64 --purec=musl/pure bin/busybox/ix
ix# ix build --target=linux-aarch64 --purec=uclibc/ng bin/busybox/ix
static tmux
another static tmux
and how to build one!
ix# ix build bin/tmux
how to build static git
again
and again…
ix# ix build bin/git