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

前端 未结 1 1364
一个人的身影
一个人的身影 2021-02-20 18:16

I am using Debian/MIPS+QEMU to build MIPS ports of PortFusion (a TCP tunneling solution). The resulting binaries are linked against GNU libc. Thus, they cannot be just copied ov

相关标签:
1条回答
  • 2021-02-20 18:38

    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.

    0 讨论(0)
提交回复
热议问题