OpenWRT - HaskellWiki
wiki.haskell.org › OpenWRTI almost could use the OpenWRT box as the musl-based build system, but that would require a working gcc on the OpenWRT box. Currently, on OpenWRT trunk, the gcc package is broken . What I really want is a cross-compiler, which will run on my glibc-based Ubuntu box, but will build executables that use statically-linked musl.
OpenWRT - HaskellWiki
https://wiki.haskell.org/OpenWRTSince my OpenWRT box has an x86_64 processor, it could almost run the same binaries that my desktop Linux machine does. However, the reason it can't is because it uses a different C library. Desktop Linux (specifically Ubuntu in my case) uses glibc. OpenWRT used uclibc in past versions, and uses musl on trunk.
musl libc
https://musl.libc.orgmusl libc. musl is an implementation of the C standard library built on top of the Linux system call API, including interfaces defined in the base language standard, POSIX, and widely agreed-upon extensions.musl is lightweight, fast, simple, free, and strives to be correct in the sense of standards-conformance and safety.. New to musl libc? Read more about musl or visit the …