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

Jonathan Pryor jonpryor at vt.edu
Mon Apr 19 13:44:18 EDT 2010


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 first patch patches eglib so that messages produced by g_print(),
g_printerr(), and g_log() are sent to the Android message log:

	* src/glib.h: Rebase g_return_if_fail(), g_return_val_if_fail() in
	  terms of g_critical() instead of printf, and turn g_printerr() into
	  an actual function instead of a macro.
	* src/goutput.c: Add Android support, sending g_print(), g_printerr(),
	  and g_log() messages to the Android system log.

Permission to commit?

 - Jon

[0] http://developer.android.com/sdk/ndk/index.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eglib.diff
Type: text/x-patch
Size: 4935 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100419/7a2bdaa2/attachment.bin 


More information about the Mono-devel-list mailing list