[Mono-dev] [PATCH] Android Support [2/4]
jonpryor at vt.edu
Mon Apr 19 13:44:20 EDT 2010
This is a series of patches to add support to Mono for building against
the Android NDK . 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1902 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100419/c2e6edb3/attachment.bin
More information about the Mono-devel-list