ZMQ on Android is important for me. Thanks for submitting the patch.
I'll try and take a look at it in the near future for a distributed system we're extending to mobile devices. -- Wolf On Nov 11, 2010, at 4:51 AM, Ghislain PUTOIS <[email protected]> wrote: > On lun., 2010-11-08 at 12:09 +0100, Martin Lucina wrote: >> [email protected] said: >>> Mato, >>>> Indeed, that would be my greatest concern. We can't easily accept patches >>>> which add "Yet another build system", it creates too much of a maintenance >>>> overhead. >>>> >>> I'va asked Ghislain and the reason is that he's not familiar with >>> autotools. Still, the patch is perfectly valid. >>> >>> So the only question is how does autotools behave on Android. Would it >>> define ZMQ_HAVE_ANDROID? Or does it treat Android as a Linux flavour? >> >> No idea here, sorry. > > Android is mostly a Linux flavour, which unfortunately still requires a > non standard toolchain, called the NDK. This toolchain defines the > ANDROID variable, so I hadn't proposed a ZMQ_HAVE_ANDROID variable. > > The only difference I have found with a standard linux platform is in > the incomplete support of the POSIX functions for optimizations, so I > commented them out in my proposed patch. > > The specific toolchain also requires a specific directory structure. > Therefore, I don't think the specific support for a complete build of an > Android flavour should be integrated in the zmq trunk. However, it would > be nice to have the trunk modified so that the source files could be > directly copied into a NDK project. > > I just submitted my attempts so that other people know how I got it > working on an Android phone, if they want ot use zmq for their own > project. > > -- > Ghislain > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
