Hello Max, Last month I have worked on porting MPD to uClinux, running on the Blackfin processor. Indeed, the biggest hurdle was getting GLib to compile under uClinux. Recent versions of GLib have a permanent dependency on IPv6, which cannot be turned off, so I had to compile a IPv6 enabled toolchain for it. Then there is the dependency on gettext, libffi, which also required a locale enabled toolchain. I am glad you have decided to move away from GLib.
Regarding c++11, does the Android GNU toolchain have full support for this? The latest toolchain for Blackfin is still at 4.3 (stable) and 4.5 (experimental). I will check if these have support for c++11. -- Timur On 1/2/2013 7:36 PM, Max Kellermann wrote: > On 2013/01/02 18:14, Alexander Sack <pisym...@gmail.com> wrote: >> Thanks Max. So when you say Glib is slowly fading out, does that mean for >> the core logic as well? I/O, main loop thread, etc. or just thread sync >> primitives? > > Last year, I attempted to port MPD to Android, but found that GLib was > (nearly) impossible to cross-compile. The Android port is suspended > until the GLib dependency is removed. > > MPD doesn't use GLib for I/O. The only exception is the GIOChannel > that is used for client connections, but GIOChannel are awful to deal > with, it's only used to plug it into the GMainLoop. > > I don't know about the choice of event loop library yet, but anything > is better than GLib's GMainLoop. I like libevent, but I'm not sure if > that will work easily on Android. > > One thing I like a lot in GLib is the GError API. I'd like to avoid > using C++ exceptions (and RTTI), because of the surprising semantics > and the runtime overhead. (It's too easy to make a C++ program > bloated, and I'll do my best to avoid that.) > > Max > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > Musicpd-dev-team mailing list > Musicpd-dev-team@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team > ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team