{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/655","repository_url":"https://api.github.com/repos/HaxeFoundation/hxcpp","labels_url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/655/comments","events_url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/655/events","html_url":"https://github.com/HaxeFoundation/hxcpp/issues/655","id":264852374,"number":655,"title":"Can't compile application for armv7","user":{"login":"r3d9u11","id":15020827,"avatar_url":"https://avatars3.githubusercontent.com/u/15020827?v=4","gravatar_id":"","url":"https://api.github.com/users/r3d9u11","html_url":"https://github.com/r3d9u11","followers_url":"https://api.github.com/users/r3d9u11/followers","following_url":"https://api.github.com/users/r3d9u11/following{/other_user}","gists_url":"https://api.github.com/users/r3d9u11/gists{/gist_id}","starred_url":"https://api.github.com/users/r3d9u11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r3d9u11/subscriptions","organizations_url":"https://api.github.com/users/r3d9u11/orgs","repos_url":"https://api.github.com/users/r3d9u11/repos","events_url":"https://api.github.com/users/r3d9u11/events{/privacy}","received_events_url":"https://api.github.com/users/r3d9u11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-12T08:19:26Z","updated_at":"2017-10-12T09:54:03Z","closed_at":null,"author_association":"NONE","body":"Hi. I tried to compile my application for armv7 arch and have an exception of g++:\r\n```\r\ng++: error: unrecognized command line option `-m32`\r\nError: Could not create PCH\r\n```\r\nBut this option is for x86 architecture, is'n it?\r\n\r\n```\r\n#uname -a\r\nLinux imx6ul-var-dart 4.1.15-224577-gc6d2d28 #1 SMP PREEMPT Web Oct 11 12:33:22 +03 2017 armv71 GNU/Linux\r\n#g++ --version\r\ng++ (Debian 6.3.0.-18) 6.3.0 20170516\r\n```\r\n\r\ntested with Haxe 3.2.1 (stable debian repo) and Haxe 3.4.4 (unstable debian repo)\r\n\r\nbuild-cpp.hxml:\r\n```\r\n-main Main\r\n-cp Sources\r\n-cpp Bin\r\n-D HXCPP_ARMV7\r\n-lib tink_json\r\n```\r\n\r\ntested on [Debian Jessie](http://variwiki.com/index.php?title=DART-6UL_Debian_Jessie_MX6UL).\r\n\r\nWhat I'm doing wrong?\r\nThanks."},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/comments/336080055","html_url":"https://github.com/HaxeFoundation/hxcpp/issues/655#issuecomment-336080055","issue_url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/655","id":336080055,"user":{"login":"hughsando","id":1665494,"avatar_url":"https://avatars1.githubusercontent.com/u/1665494?v=4","gravatar_id":"","url":"https://api.github.com/users/hughsando","html_url":"https://github.com/hughsando","followers_url":"https://api.github.com/users/hughsando/followers","following_url":"https://api.github.com/users/hughsando/following{/other_user}","gists_url":"https://api.github.com/users/hughsando/gists{/gist_id}","starred_url":"https://api.github.com/users/hughsando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughsando/subscriptions","organizations_url":"https://api.github.com/users/hughsando/orgs","repos_url":"https://api.github.com/users/hughsando/repos","events_url":"https://api.github.com/users/hughsando/events{/privacy}","received_events_url":"https://api.github.com/users/hughsando/received_events","type":"User","site_admin":false},"created_at":"2017-10-12T09:54:03Z","updated_at":"2017-10-12T09:54:03Z","author_association":"MEMBER","body":"There is a 'noM32' option in linux-toolchain.xml.\r\nIdeally, this should be set from the HXCPP_ARMV7 setting.\r\nBut you could try \"-D HXCPP_NO_M32\" and see if this helps.\r\n"}}
{"actor":{"display_login":"hughsando"}}