Take the 2-minute tour ×

I have simple Haxe app like

class Main
public static function main()
trace("hello world");

I know how to compile such app for windows (not as SWF but as app from pure C\C++ )(and you can see how here but be worned thay use hxcpp\0,4 ) The problem is - I do not want to compile app for Windows Vista or 7 or XP I want to get PURE C\C++ code (better in one place as one project) for for example compiling that code on windows mobile or where ever I want to.

So is there any algorithm for turning simple HAXE code into C/C++ code files?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

AFAICT hxcpp does generate C++ code which uses a platform specific library(Neko). the output is not windows specific.

share|improve this answer

Your Answer


