[Gc] Android support (static libs only)

Boehm, Hans hans.boehm at hp.com
Mon Oct 18 11:49:01 PDT 2010

Thanks.  Some of this already seems to be in CVS.  But I have some concerns:

Where is BGL_ANDROID defined?  We seem to also be testing for PLATFROM_ANDROID, but not consistently.  If different versions use different macros, we should introduce our own macro, and consolidate the test into one place.

__stack_base__ seems to be set, but not used?

Some of the patch seems to consist of Bigloo profiling changes, which are orthognonal, and look like they may be redundant with other mechanisms already in the GC.

Makefile.in is a derived file.  Makefile.am should be edited if changes are needed.


> -----Original Message-----
> From: gc-bounces at linux.hpl.hp.com [mailto:gc-bounces at linux.hpl.hp.com]
> On Behalf Of Manuel.Serrano at inria.fr
> Sent: Monday, October 18, 2010 1:33 AM
> To: gc at linux.hpl.hp.com
> Subject: [Gc] Android support (static libs only)
> We have somehow managed to port the GC 7.2alpha4 on Android. This is
> not a complete port because the dynamic libraries are not supported
> yet. This is quite unfortunate because on Android one is supposed to
> write native code only inside shared libraries. However, it's still
> possible to play some tricks to install stand alone applications on
> that platform. In that context only the current port of the collector
> is useful.
> I imagine that supporting shared library would be simple for someone
> familiar with the configuration of the collector (this is not my case)
> so I hope someone will be able to help and to complete the port. In the
> meantime, here is the patch we use in the Bigloo compiler (this patch
> also contains some other minor modifications that should be ignored).

More information about the Gc mailing list