Reputation: 778
Im cross compiling haskell to run on Android. After some days of struggling my only remaining problem is that libc on Android (Bionic) is missing some functions found in glibc. More precisely getnetent, setnetent, endnetent, getprotoent, setprotoent, endprotoent, sethostent and endhostent.
As I see it, I have two choices. Either I try to cross compile glibc and link that statically into my program. Some googeling suggests that this might work. A simpler solution might be to write these functions myself. However I am not familiar enough with libc to know if this is even possible? I was also unable to find C code for these functions
Upvotes: 1
Views: 242