hxzmq icon indicating copy to clipboard operation
hxzmq copied to clipboard

building hxzmq using haxe 3.1 and haxelib 3.0 on ARM v7

Open synetics opened this issue 11 years ago • 0 comments

Trying to compile it on an ARM Embedded System using ARM v7 architecture. I managed to compile ocaml, haxe and hxcpp. Now I need to compile hxzmq and get the following error "invalid option -m32" I can see an -m32-bit in g++. I do not know where to modify these options. Appreciate help:

g++ -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -m32 -I/usr/local/haxe/libs/hxcpp/3,0,2//include -x c++ -frtti ./src/ZMQ.cpp -oobj/linux//src/ZMQ.o g++ -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -m32 -I/usr/local/haxe/libs/hxcpp/3,0,2//include -x c++ -frtti ./src/Context.cpp -oobj/linux//src/Context.o cc1plus: error: unrecognized command line option ‘-m32’

I could convert haxelib.xml to haxelib.json as shown below: linaro@linaro-alip:~/zeromq-3.2.3/hxzmq$ cat haxelib.json { "name": "hxzmq", "license": "LGPL", "tags": ["cpp","neko","php"], "description": "Haxe language binding for the ZeroMQ socket library", "contributors": ["rjsmith"], "releasenote": "Added experimental support for ZMQ v3.x.x", "version": "1.5.0", "url": "http://github.com/rjsmith/hxzmq", "dependencies": { "hxcpp": "" } }

But I do not know how to use it. Thanks Joseph Mathew [email protected]

synetics avatar Aug 21 '13 05:08 synetics