[zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-06 Thread Ghislain PUTOIS
Dear all, Here is a small patch to ease the cross-compilation of the trunk on the Android platform, which is mostly a LINUX platform, except form some missing POSIX functions. You can also find a compiled version and a copy of the sources I am currently using for cross-compiling to Android on http

Re: [zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-06 Thread Martin Sustrik
Hi Ghislain, Great work! Is there a reason why the build for Android isn't integrated with existing autotools build system? Martin On 11/06/2010 03:39 PM, Ghislain PUTOIS wrote: Dear all, Here is a small patch to ease the cross-compilation of the trunk on the Android platform, which is mo

Re: [zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-07 Thread Martin Lucina
Hi, sust...@250bpm.com said: > Hi Ghislain, > > Great work! > > Is there a reason why the build for Android isn't integrated with existing > autotools build system? Indeed, that would be my greatest concern. We can't easily accept patches which add "Yet another build system", it creates too muc

Re: [zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-07 Thread Martin Sustrik
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

Re: [zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-08 Thread Martin Lucina
sust...@250bpm.com 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

Re: [zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-11 Thread Ghislain PUTOIS
On lun., 2010-11-08 at 12:09 +0100, Martin Lucina wrote: > sust...@250bpm.com 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 Ghi

Re: [zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-11 Thread Wolfgang Richter
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 wrote: > On lun., 2010-11-08 at 12:09 +0100, Martin Lucina w

Re: [zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-11 Thread Pieter Hintjens
Ghislain, I think it's very exciting that 0MQ runs on Android, with these patches. It would be great if you could create a wiki page on www.zeromq.org/community, e.g. in http://www.zeromq.org/distro:_start, for Android. This way people can find your patch more easily. -Pieter On Thu, Nov 11, 2

Re: [zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-11 Thread Ghislain PUTOIS
Pieter, Good suggestion, I've just put my source package on http://www.zeromq.org/distro:android . It contains my source tree for building dynamic libraries for uuid and (not too old) trunk zmq. Most of my comments are in the create.sh script. Don't hesitate to update it with more comments. --

Re: [zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-11 Thread Pieter Hintjens
Ghislain, Nice! I've tweaked the page to make it easier for people to find the downloads, and tweeted about it so the world knows... -Pieter On Thu, Nov 11, 2010 at 5:18 PM, Ghislain PUTOIS wrote: > Pieter, > > Good suggestion, > > I've just put my source package on > http://www.zeromq.org/dis

Re: [zeromq-dev] [PATCH] Preliminary Android support for trunk ZeroMQ

2010-11-12 Thread Martin Sustrik
Hi Ghislain, Thanks for explanation! > 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. > Ok. So AFAIU autotools cannot be used to