Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building hxzmq using haxe 3.1 and haxelib 3.0 on ARM v7 #3

Open
synetics opened this issue Aug 21, 2013 · 0 comments
Open

building hxzmq using haxe 3.1 and haxelib 3.0 on ARM v7 #3

synetics opened this issue Aug 21, 2013 · 0 comments

Comments

@synetics
Copy link

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant