How to use the musl C Library instead of uclibc?

I noticed that OpenWRT 18 is built using uclibc but I would like to use musl instead. I have not found where this option is configured/chosen. How would I go about changing the library?

Really?

toolchain-mips_24kc_gcc-7.4.0_musl

1 Like

@jeff I'm building for an x86_64 target and the toolchain uses uclibc.

Also x86 in 18.06 uses musl by default.
Easily verified from release downloads
https://downloads.openwrt.org/releases/18.06.1/targets/x86/64/

Sounds like you are basing your build on somebody's nonstandard config.

Menuconfig has the toolchain options where you can select the libc.

2 Likes