3 ms·
You need to compile a static executable (not with static libraries, there's a subtle difference). The flags depend on your compiler. If you're on Linux, musl l
by hctaw 5y ago
You need to compile a static executable (not with static libraries, there's a subtle difference). The flags depend on your compiler.
If you're on Linux, musl libc and musl-tools are useful for dealing with this reliably.
- a1369209993 5y ago> You need to compile a static executable This is functionally impossible on $ISA-linux-gnu, because the glibc developers refuse to provide a working C standard library (libc.a). > musl libc and musl-tools are useful Sure, but if the software worked (/reliably) with musl, we'd be using that already.