[zeromq-dev] ZeroMQ Cross-compile and/or CMake
Martin Lucina
mato at kotelna.sk
Tue Aug 17 18:17:05 CEST 2010
Hi John,
> I am trying to cross-compile ZeroMQ on an x86/Linux machine for execution on an
> embedded PPC/Linux machine. The ZeroMQ web site makes reference to using CMake
> for cross-compiling, but the ZeroMQ source files seem to be lacking the
> CMakeLists.txt configuration file. I have the cross-compilers already, but am
> stuck getting the ZeroMQ build to use them.
I think the references to CMake might be 0MQ 1.0 stuff. Can you point me to
them?
In any case, 0MQ 2.x uses a standard autotools-based build system, so to
cross-compile you want to use the standard options provided by the
"configure" script.
You'll want to use the --host option to "configure" to cross-compile the
library to whichever target you're using.
-mato
More information about the zeromq-dev
mailing list