[zeromq-dev] [ zeromq-dev] C binding DLL for ROOT/CINT
Martin Sustrik
sustrik at 250bpm.com
Thu May 6 09:51:21 CEST 2010
Armin,
>> Intersting. Did it involve changes in the codebase or is it just an
>> alternate build system?
>>
>
> No changes of the codebase ... you have just to link against libzmq.so .
>
> To build the zmq extension you must adapt the include file zmq.h a
> little bit.
> The adaption of zmq.h for the C++ bindings could be a little bit more
> difficult ...
What exactly had to be modified? Any chance of getting the change upstream?
> However ... the build process is at the end a 2-liner !! (makecint
> + make make command)
Nice.
>>> PS: tested on LINUX and QNX
>>>
>>
>> Btw, how does the QNX port do? Does it work out of the box?
>>
>
> After the porting steps below it works out of the box:
>
> - CC=qcc CXX=QCC configure --with-c --with-perf .... if only C-bindings are requested
>
> - then add to platform.hpp:
>
> #define rpl_malloc malloc
> #define ZMQ_FORCE_SELECT 1
These defines can be added to the existing build system. Would you be
willing to test it, if I add the code?
> But the performance test shows not so brilliant results ...
Any specifics? Figures? HW it is run on?
Martin
More information about the zeromq-dev
mailing list