Re: Full glib porting onto Android



Hi,Maarten,thanks a lot!
   You're right, that's the more appropriate way. Now I've modified the solution and report it to gtk-bugzilla:#645659:
https://bugzilla.gnome.org/show_bug.cgi?id=645659
   Best Regards.

On Wed, Mar 23, 2011 at 8:50 PM, Maarten Bosmans <mkbosmans gmail com> wrote:
2011/3/23 Shuxiang Lim <shohyanglim gmail com>:
> 5. remove the -lpthread in gthread/Makefile.

Is this applicable for all files, or just those under gsthread? In the
first case, you should remove -lpthread in configure.ac

> 6. change the CFLAGS in agcc,replace "-mthumb" by "-mno-thumb"; make;make
> install

Same here

>  #include "config.h"
> +#ifdef ANDROID
> +#undef HAVE_PWD_H
> +#endif

Undefine HAVE_PWD_H from configure.ac when ANDROID is set. Or better
yet, make sure pwd.h is not recognized by configure when
cross-compiling for android.

> +#ifdef ANDROID
> +#undef HAVE_SYS_PRCTL_H
> +#endif

Same here

> +#ifdef ANDROID
> +#undef ENABLE_NLS
> +#endif

Same here


Maarten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]