3 ms·
Current OpenWRT uses musl libc[1] which can be optimized to have a tiny footprint and supports full static linking, before that it used ucLibc which was similar
by acka 3y ago
Current OpenWRT uses musl libc[1] which can be optimized to have a tiny footprint and supports full static linking, before that it used ucLibc which was similarly optimized.
You can still build software for OpenWRT that requires the much bigger Glibc, but of course it will not work that well on devices with limited memory.
[1]: https://musl.libc.org/ https://musl.libc.org/
- fulafel 3y agoMusl libc seems to be 2 MB ish, it's smaller than glibc but still something when comparing to other languages and their runtimes.
- phoronixrly 3y ago464.7K Oct 15 2022 /lib/libc.so As seen on openwrt on armv7l system
- ranma42 3y agoAlso OpenWRT udev itself is tiny: 20.0K Oct 13 2022 /usr/lib/libudev.so.1 8.0K Dec 15 2022 /sbin/udevtrigger