Re: [zeromq-dev] Problems cross compiling for ARM

2013-04-11 Thread Pieter Hintjens
I've started a page on the wiki: http://www.zeromq.org/build:arm

Anyone with experience of building for ARM, it could be nice to expand
this text. There's nothing else on the wiki yet about building for
ARM.

-Pieter

On Tue, Apr 9, 2013 at 6:43 PM, Martin Lucina mar...@lucina.net wrote:
 Unfortunately not, see above. E.g. I have arm-linux-gnueabi here since I
 use the EmDebian toolchain.

 FYI, I couldn't get zeromq-3.2.2 to compile using my toolchain (Debian
 4.4.5-8) due to a bug in decoder.hpp.  Fixed the bug myself and was going
 to submit a patch but this appears to have been fixed since in commit
 6d4e2ce to zeromq3-x.

 -mato
 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Problems cross compiling for ARM

2013-04-09 Thread Martin Lucina
Hi Michael,

mwpowell...@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
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Problems cross compiling for ARM

2013-04-09 Thread Martin Lucina
 Unfortunately not, see above. E.g. I have arm-linux-gnueabi here since I
 use the EmDebian toolchain.

FYI, I couldn't get zeromq-3.2.2 to compile using my toolchain (Debian
4.4.5-8) due to a bug in decoder.hpp.  Fixed the bug myself and was going
to submit a patch but this appears to have been fixed since in commit
6d4e2ce to zeromq3-x.

-mato
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Problems cross compiling for ARM

2013-04-08 Thread Alberto Luaces
Joshua Foster writes:

 I would suggest looking at http://www.zeromq.org/build:android for ideas.


Indeed, I would just

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

-- 
Alberto

___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[zeromq-dev] Problems cross compiling for ARM

2013-04-06 Thread Michael Powell
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?

We will want to build for 80386 when we extend into Windows and C# .NET
Interop, but not right now.

Thank you...

Regards,

Michael Powell
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Problems cross compiling for ARM

2013-04-06 Thread Joshua Foster

I would suggest looking at http://www.zeromq.org/build:android for ideas.

Joshua

Michael Powell wrote:


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?

We will want to build for 80386 when we extend into Windows and C#
.NET Interop, but not right now.

Thank you...

Regards,

Michael Powell
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev