home / codeberg / blog / docs


llvm on alpine

install packages, you can install any ld you like instead of lld

doas apk add clang binutils compiler-rt lld

configure /etc/clang*/*-alpine-linux-musl.cfg

-fuse-ld=lld
--rtlib=compiler-rt