Hi all,
About a year ago, I did some work to make libcore and its dependencies portable to other platforms. That mainly involved patching various code to make it 64-bit safe, but I also made a few tweaks to better support OS X, iOS, and Windows. The 64-bit patches were all merged upstream, but the other stuff has just been sitting in my personal repo (
https://github.com/dicej/android-libcore64).
The Windows port never got very far since there's a lot of POSIX-specific code in libcore, and I wasn't ready to spend much time porting it. Now it's a year later, and I still don't have time to pursue it myself, but there are others who are interested and willing to work on it:
I thought I'd post here to, (A) make you aware of this effort, (B) see if anyone else has worked on this or wants to, and (C) find out if there's interest in supporting these platforms in the official Android libcore repository.
I'd love to see libcore evolve into a portable class library which could be shared among various VMs (e.g. Dalvik, RoboVM, Avian, etc.). So far, the pattern has been to fork and customize libcore in isolation, which has already led to redundant effort. Right now there are at least two forks I'm aware of: the RoboVM one and mine. I'm hoping we can reduce that to one at least. If there's interest in moving this work upstream, then maybe we won't need any forks at all.
Thoughts?