Can GHC link binaries against a libc implementation such as uclibc (used in OpenWrt by default)?

拈花ヽ惹草 提交于 2019-12-04 02:59:46

Is there a way to link Haskell/GHC binaries on Debian/MIPS against uclibc instead of eglibc?

No. You need to to rebuild Haskell/GHC from sources using uclibc-based GCC cross-compiler.

Can OpenWrt's using uclibc be really the reason

Yes. Also, you can try to use ldd on your MIPS pplatform to check what library is missing. I'm sure it will be some of libc-related libraries.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!