[Mono-dev] [PATCH] Android Support [2/4]

Rodrigo Kumpera kumpera at gmail.com
Mon Apr 19 14:17:05 EDT 2010


Looks good.

On Mon, Apr 19, 2010 at 2:44 PM, Jonathan Pryor <jonpryor at vt.edu> wrote:

> This is a series of patches to add support to Mono for building against
> the Android NDK [0].  Android runs the Linux kernel, but moves many
> things around compared to a "normal" desktop Linux distro.
>
> These patches are based against the mono-2-6 branch.
>
> This second patch patches libgc so that it will properly build and link
> under Android.  In particular, note that Android includes pthread_*()
> functions within libc, not libpthread, thus the added configure check.
>
>        * include/private/gcconfig.h: Android platforms are built atop
> Linux,
>          don't use glibc, and uses `environ` instead of `__environ`.
>        * configure.in: Use AC_CHECK_LIB() to check for pthread instead of
>          just blindly linking to -lpthread, as Android includes pthread
>          support within libc and doesn't provide a separate libpthread.
>
>
> Permission to commit?
>
> - Jon
>
> [0] http://developer.android.com/sdk/ndk/index.html
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100419/6f0335be/attachment-0001.html 


More information about the Mono-devel-list mailing list