When building on arm64 linux (not raspberry) i got error:
tkwiatek@odroid64:~/hitcollector/socket$ haxe build.hxml
haxelib run hxcpp Build.xml haxe -DHXCPP_VERBOSE=“1” -Dhaxe3=“1” -Dhaxe_ver=“4.000” -Dhxargs=“3.0.2” -Dhxcpp_api_level=“331” -Dpolygonal-ds=“2.0.0-beta” -Dpolygonal-printf=“1.0.2-beta” -Dpolygonal_ds=“2.0.0-beta” -Dpolygonal_printf=“1.0.2-beta” -Dprotohx=“0.4.6” -Dsource-header=“Generated by Haxe 4.0.0” -I"/usr/share/haxe/lib/protohx/0,4,6/" -I"/usr/share/haxe/lib/polygonal-printf/1,0,2-beta/" -I"/usr/share/haxe/lib/polygonal-ds/2,0,0-beta/src/" -I"/usr/share/haxe/lib/hxargs/3,0,2/" -I"…/StatsCommon/src/" -I"…/StatsCommon/protobuf/src-gen/" -I"src/" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/std/" -I"/usr/share/haxe/std/cpp/std/" -I"/usr/local/lib/haxe/std/cpp/std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
__
/\
\ \ _ __ _ ___ _____ _____
\ \ _ \ /\ \/'\ /'___\/\ '__
/\ '__`
\ \ \ \ \/> <//\ _/\ \ \L\ \ \ \L\
\ _\ _/_/_\ _\ \ ,/\ \ ,_/
/////////_/ \ \ / \ \ /
\ _\ \ _
// //
hxcpp (Haxe C++ Runtime Support) (3.4.188)
Using makefile: Build.xml
Reading HXCPP config: /home/tkwiatek/.hxcpp_config.xml
No specified toolchain
- Parsing include: /usr/share/haxe/lib/hxcpp/3,4,188/toolchain/setup.xml
- Parsing include: /home/tkwiatek/.hxcpp_config.xml (section “vars”)
- Parsing include: /usr/share/haxe/lib/hxcpp/3,4,188/toolchain/finish-setup.xml
- Parsing makefile: /home/tkwiatek/hitcollector/build/hitcollector/Build.xml
- Parsing include: /usr/share/haxe/lib/hxcpp/3,4,188/build-tool/BuildCommon.xml
- Parsing include: /usr/share/haxe/lib/hxcpp/3,4,188/toolchain/haxe-target.xml
- Parsing include: /usr/share/haxe/lib/hxcpp/3,4,188/src/hx/libs/regexp/Build.xml
- Parsing include: /usr/share/haxe/lib/hxcpp/3,4,188/src/hx/libs/std/Build.xml
- Parsing include: /usr/share/haxe/lib/hxcpp/3,4,188/src/hx/libs/ssl/Build.xml
- Parsing include: /usr/share/haxe/lib/hxcpp/3,4,188/src/hx/libs/zlib/Build.xml
- Parsing include: /usr/share/haxe/lib/hxcpp/3,4,188/toolchain/linux-toolchain.xml
- Parsing include: /usr/share/haxe/lib/hxcpp/3,4,188/toolchain/gcc-toolchain.xml
- Parsing compiler: /usr/share/haxe/lib/hxcpp/3,4,188/toolchain/common-defines.xml
- Parsing include: /home/tkwiatek/.hxcpp_config.xml (section “exes”)
Using compile threads: 4
Creating PCH directory “/home/tkwiatek/hitcollector/build/hitcollector/obj/linux64/__pch/haxe”
- Precompile /home/tkwiatek/hitcollector/build/hitcollector/obj/linux64/__pch/haxe/hxcpp.h.gch
- Running command: g++ -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -Wno-overflow -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=331 -m64 -DHXCPP_M64 -I/usr/share/haxe/lib/hxcpp/3,4,188/include -frtti -Wno-invalid-offsetof -o /home/tkwiatek/hitcollector/build/hitcollector/obj/linux64/__pch/haxe/hxcpp.h.gch /usr/share/haxe/lib/hxcpp/3,4,188/include/hxcpp.h
g++: error: unrecognized command line option ‘-m64’
Error: Error while running command
g++ -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -Wno-overflow -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=331 -m64 -DHXCPP_M64 -I/usr/share/haxe/lib/hxcpp/3,4,188/include -frtti -Wno-invalid-offsetof -o /home/tkwiatek/hitcollector/build/hitcollector/obj/linux64/__pch/haxe/hxcpp.h.gch /usr/share/haxe/lib/hxcpp/3,4,188/include/hxcpp.h
Error: Build failed
Did anybody tried to do this?