[zeromq-dev] Problems cross compiling for ARM

Martin Lucina martin at lucina.net
Tue Apr 9 17:33:47 CEST 2013


Hi Michael,

mwpowellhtx at gmail.com said:
> Hello,
> 
> I want to build ZMQ for ARM but have problems.
> 
> If I just build with the plain old i386 arch, no problems. I do get a .a
> library I can statically link against, BTW. Good.
> 
> Now if I ./configure ... CC=arm-none-linux-gnueabi-gcc --host=arm
> 
> It builds, but the output files are still targeting 80386. This isn't right?
> 
> How do we build for ARM?

You want:

$ ./configure --host=arm-none-linux-gnueabi

Cheers,

-mato



More information about the zeromq-dev mailing list