Re: Full glib porting onto Android
- From: Maarten Bosmans <mkbosmans gmail com>
- To: Shuxiang Lim <shohyanglim gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Full glib porting onto Android
- Date: Wed, 23 Mar 2011 13:50:48 +0100
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]