libcore on OS X, iOS, and Windows

65 views
Skip to first unread message

Joel Dice

unread,
Feb 18, 2014, 11:42:05 AM2/18/14
to android...@googlegroups.com
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?

enh

unread,
Feb 19, 2014, 11:32:32 AM2/19/14
to android...@googlegroups.com
libcore already supports two VMs: dalvik and art.

as for other OSes? no thanks.
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-contr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



--
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Java i18n/JNI/NIO, or bionic questions? Mail me/drop by/add me as a reviewer.
Reply all
Reply to author
Forward
0 new messages