[zeromq-dev] disabling epoll()
Nir Soffer
nirsof at gmail.com
Mon Oct 4 15:43:35 CEST 2010
On Mon, Oct 4, 2010 at 3:19 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> On 10/04/2010 03:09 PM, Martin Lucina wrote:
>
> >> What I recall Malo told me long time ago is that autoconf is able to
> >> compile and run a small user-supplied test program and defined the macro
> >> depending on whether it succeeds or fails.
> >
> > Yes, of course. But the point is this is only of any help when you're not
> > cross-compiling since the test program is run on the *build* system, not
> on
> > the *target* system.
>
> Ah, I've forgot about cross-compiling :(
>
You can use tools such as scaratchbox2 <
http://freedesktop.org/wiki/Software/sbox2> and qemu <
http://wiki.qemu.org/Main_Page> to configure with your target kernel and
libraries. After you install and setup your toolchain, it is just "sb2
configure; sb2 make" to configure and build on your virtual target machine. I
have built Perl and Python for ARM few month ago using these wonderful
tools.
The best way is having automatic detection and configure options to override
them if you need.
>
> Martin
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101004/9c546f04/attachment.htm>
More information about the zeromq-dev
mailing list