tags:

views:

88

answers:

1

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?

+2  A: 

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

Hasturkun